csc-python-solutions/03/1 - Second Guessing.py

8 lines
275 B
Python
Raw Normal View History

2021-02-18 18:44:14 +00:00
# goal: print out the number of seconds in a week
secondsPerMinute = 60
secondsPerHour = secondsPerMinute * 60 # todo: check this!
secondsPerDay = secondsPerHour * 24
daysPerWeek = 5
daysPerWeek = daysPerWeek + 2 # weekends are disabled!?
print(secondsPerDay * daysPerWeek)