Learn Before
Code

Python Program to Display Calendar

#Program to display a calendar of the given month and year

#Importing calendar module

import calendar

yy = int (input ("Enter year: ")) #Year

mm = int (input ("Enter month: ")) #Month

#Display the calendar

print (calendar.month(yy, mm))

0

1

Updated 2021-08-31

Tags

Python Programming Language

Data Science