Display the Calendar

Step — 1:- Import the calendar module.

import calendar

Step — 2:- Take the user for month and year.

y=(input("Enter the year: "))
m=(input("Enter the month:"))

Step — 3:- the main step to display the calendar.

print(calendar.month(yy,mm ))

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store