Sort by

recency

|

668 Discussions

|

  • + 0 comments

    I once forgot an important shoot date, but luckily, Richmond Archer Photography had it marked on their calendar saved me big time!

  • + 1 comment

    Could someone explain why the firstweekday is 6 in the sample code?

    print calendar.TextCalendar(firstweekday=6).formatyear(2015)
    
  • + 0 comments

    import calendar m,d,y=input().split(" ") print(calendar.day_name[calendar.weekday(int(y),int(m),int(d))].upper())

  • + 0 comments
    import calendar 
    m, d, y = map(int, input().split())
    print(calendar.day_name[calendar.weekday(y, m, d)].upper())
    
  • + 0 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())