Compute the day of the week for any Gregorian date using Zeller's congruence.
Constraints
Example
[">>> weekday(2023, 10, 9)\n'Monday'", ">>> weekday(2000, 2, 29)\n'Tuesday'", ">>> weekday(2023, 1, 1)\n'Sunday'", ">>> weekday(2023, 12, 31)\n'Sunday'"]
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints