programming-examples/python/_Basics/Python Program to Display Calendar.py
2019-11-15 12:59:38 +01:00

14 lines
290 B
Python

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