2 Comments
User's avatar
PhilW's avatar

Here, today == "a" is not valid because datetime.now().strftime("%A") returns the full name of the day (e.g., "Monday", "Tuesday"), so "a" will never match any of these values. If you intend to check for Monday, you should compare today with "Monday".

Expand full comment
Ardit Sulce's avatar

Ah, sorry. I fixed it.

Expand full comment