LearnPy Hub
← Arena
IntermediateRating 1100

What Day Was It?

Print the day of the week (Monday … Sunday) for the date.

Input

One date YYYY-MM-DD (1900–2100).

Output

A weekday name.

Sample 1

Input
2024-01-01
Output
Monday

Sample 2

Input
1971-03-26
Output
Friday
solution.py
Output appears here
What Day Was It? · Python Arena problem · LearnPy Hub