In Python, we can display the calendar by importing the calendar module to our program. The **calendar in python **module’s built-in function month() takes the year and the month as input and shows the calendar for the input entered by the user.

Source Code import calendar #initialize the year and the month variables yr = 2020 mnth = 1 # printing the calendar print(calendar.month(yr, mnth)) Output: January 2020 Mo Tu We Th Fr Sa Su 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

#### Related Questions

- How do I get the ascii value of a character in Python and Python 3?
- How do you convert from decimal to octal?
- How do you find the least common multiple in Python?
- How do you do a leap year in Python?
- How do you check if a number is a power of 2 in Python?
- What is Calendar module in Python?
- How do you Find Factors of a Number Quickly?
- What is CHR () in Python?
- How do I print a whole year calendar in Python?
- How do you find the factors of a number Program?
- How do you find the LCD in Python?
- Is Python a leap?
- How do you find what power of 2 a number is?
- What’s the Ascii code for char A?
- How do you convert decimal to octal and hexadecimal?
- What is the name of Python’s built in module for working with calendars?
- How do you find the factors of a number in a while loop in Python?
- How do you calculate power in Python?

#### Related Topics

- Python Program to Find Armstrong Number in an Interval
- Python Program to Check Armstrong Number
- Python Program to Find the Factorial of a Number
- Python Program to Print the Fibonacci sequence
- Python Program to Find the Largest Among Three Numbers
- Python Program to Display the multiplication Table
- Python Program to Check if a Number is Odd or Even
- Python Program to Check if a Number is Positive, Negative or 0
- Python Program to Check Prime Number
- Python Program to Print all Prime Numbers in an Interval
- Python Program to Find the Sum of Natural Numbers
- Python Program to Find Hash of File
- Python Program to Merge Mails
- Python Program to Find the Size (Resolution) of an Image
- Python Program to Find ASCII Value of Character
- Python Program to Convert Decimal to Binary, Octal and Hexadecimal
- Python Program to Convert Decimal to Binary Using Recursion
- Python Program to Display Calendar
- Python Program to Find the Factors of a Number
- Python Program to Find Factorial of Number Using Recursion
- Python Program to Display Fibonacci Sequence Using Recursion
- Python Program to Find HCF or GCD
- Python Program to Find LCM
- Python Program to Check Leap Year
- Python Program to Find Sum of Natural Numbers Using Recursion
- Python Program to Find Numbers Divisible by Another Number
- Python Program To Display Powers of 2 Using Anonymous Function
- Python Program to Shuffle Deck of Cards
- Python Program to Add Two Numbers
- Python Program to Calculate the Area of a Triangle
- Python Program to Make a Simple Calculator
- Python Program to Convert Celsius To Fahrenheit
- Python Program to Print Hello world!
- Python Program to Convert Kilometers to Miles
- Python Program to Solve Quadratic Equation
- Python Program to Generate a Random Number
- Python Program to Find the Square Root
- Python Program to Swap Two Variables
- Python Program to Add Two Matrices
- Python Program to Sort Words in Alphabetic Order
- Python Program to Count the Number of Each Vowel
- Python Program to Check Whether a String is Palindrome or Not
- Python Program to Remove Punctuations From a String
- Python Program to Transpose a Matrix

## Leave a Reply