You are viewing a single comment's thread. Return to all comments →
import calendar date = input().split() dia =calendar.weekday(int(date[2]),int(date[0]), int(date[1])) semana=("MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY") for i in range (7): if (dia == i): print(semana[i])
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
Calendar Module
You are viewing a single comment's thread. Return to all comments →