Print calendar of specific year April 21, 2020 Get link Facebook Twitter Pinterest Email Other Apps Print calendar of specific year Source Code: # Python's program to print calendar of specific year. import calendar cal_display = calendar.TextCalendar(calendar.MONDAY) # Year: 2020 # Column width: 2 # Lines per week: 1 # No. of months per column: 6 print(cal_display.formatyear(2020,2,1,6)) Output: Comments
Comments
Post a Comment