Print calendar of specific year

0

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:












Post a Comment

0Comments
Post a Comment (0)