Mar-22-2021, 07:07 PM
(Mar-22-2021, 06:59 PM)Larz60+ Wrote: Hint:
>>> import calendar >>> for num, day in enumerate(calendar.day_name): ... print(num, day) ... 0 Monday 1 Tuesday 2 Wednesday 3 Thursday 4 Friday 5 Saturday 6 Sunday >>>
Hi, Thanks so much for getting back to me.
Would I be right in thinking that I would need to print number 0-4 and assign them to the first empty list and then assign the 5-6 to the second empty list?
It's how to assign it that I'm mainly having trouble with.
Sorry :(