You are viewing a single comment's thread. Return to all comments →
import datetime import calendar
m, d, y = map(int, input().split()) input_date = datetime.date(y, m, d) print(calendar.day_name[input_date.weekday()].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 →
import datetime import calendar
m, d, y = map(int, input().split()) input_date = datetime.date(y, m, d) print(calendar.day_name[input_date.weekday()].upper())