You are viewing a single comment's thread. Return to all comments →
import calendar def find_weekday(year,month,day): weekdays = ['MONDAY','TUESDAY','WEDNESDAY','THURSDAY','FRIDAY','SATURDAY','SUNDAY'] return weekdays[calendar.weekday(year,month,day)] month, day, year = map(int,input().split()) weekday = find_weekday(year, month, day) print(weekday)
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 →