2 Comments

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

Ah, sorry. I fixed it.

Expand full comment