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