Jul-03-2020, 02:41 PM
(Jul-03-2020, 02:00 PM)Drone4four Wrote: day = 'Saturday'.lower()As "day" = 'saturday',
...
if WORKOUT_SCHEDULE_LOWER[day] == ('monday', 'tuesday', 'wednesday', 'thursday', 'friday'):
WORKOUT_SCHEDULE_LOWER[day]
will be evaluated to: 'Rest'
. So the whole line will be evaluated to:if 'Rest' == ('monday', 'tuesday', 'wednesday', 'thursday', 'friday'):