#hue01 import rhinoscriptsyntax as rs #the aim of this script is to calculate the remaining amount of time - in hours, days, weeks and months - that is required to complete the bsc in architecture at tug! #calculate here! #what's the state of affairs? Insert the number of completed credits for done! done = 111 #you don't subscribe to 1 ects equals 25 hours? change it here! ects = 25 #all there is or total amount of ects! all_the_ects = 180 #way to go open = all_the_ects - done #calculations hours_open = (open * ects) days_open = (open * ects) / 24 weeks_open = (open * ects) / 168 months_open = (open * ects) / 730 print 'It will take' print ' {} hours' .format (str(int(hours_open))) print 'or' print ' {} days' .format (str(int(days_open))) print 'or' print ' {} weeks' .format (str(int(weeks_open))) print 'or' print ' {} months' .format (str (int(months_open))) print 'to finish your degree' #list_open = [hours_open, int(days_open), int(weeks_open), int(months_open)] #for i in list_open: # print i # print 'or'