Tuesday, November 19, 2019

Python Program to Display Calendar.

# Program to display calendar of the given month and year
# importing calendar module
import calendar
yy = 2014  # year
mm = 11    # month
# To take month and year input from the user
# yy = int(input("Enter year: "))
# mm = int(input("Enter month: "))
# display the calendar
print(calendar.month(yy, mm))


No comments:
Write comments