csc-python-solutions/04/3 - Second Guessing.py
2021-02-18 19:44:14 +01:00

8 lines
275 B
Python

# 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)