• + 0 comments

    My approach for the problem. Using the calendar we can reduce our time and number of lines to code and futhermore leverage the inbuilt functions available to us.

    import calendar

    month , date , year =list(map(int,input().split())) x = calendar.weekday(year,month,date) print(calendar.day_name[x].upper())