From b47d21db96a2a7d7ad34904452ba6ad26321cb32 Mon Sep 17 00:00:00 2001 From: Lukas Baumann Date: Thu, 18 Feb 2021 19:44:14 +0100 Subject: [PATCH] Create 3 - Second Guessing.py --- 04/3 - Second Guessing.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 04/3 - Second Guessing.py diff --git a/04/3 - Second Guessing.py b/04/3 - Second Guessing.py new file mode 100644 index 0000000..373c133 --- /dev/null +++ b/04/3 - Second Guessing.py @@ -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)