You are viewing a single comment's thread. Return to all comments →
Short and sweet!:
import calendar as cal m, d, y = map(int, input().split()) print(cal.day_name[cal.weekday(y, m, d)].upper())
Seems like cookies are disabled on this browser, please enable them to open this website
Calendar Module
You are viewing a single comment's thread. Return to all comments →
Short and sweet!:
import calendar as cal m, d, y = map(int, input().split()) print(cal.day_name[cal.weekday(y, m, d)].upper())