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
Related
Having Fun with Conditional Statements in Python
Python Standard Library
BioPython
BioPython Tutorial
Bioinformatics Textbook
Five Cool Things You Can Do with Python
Thing You Can Do with Python
Python Program to Make a Simple Calculator
Python Program to Display Calendar
Python Program to Create Pyramid Patterns
Python Program to Solve Quadratic Equations