Create 3 - Second Guessing.py

This commit is contained in:
Lukas Baumann 2021-02-18 19:44:14 +01:00 committed by GitHub
parent dbcf296ec3
commit b47d21db96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,7 @@
# 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)