This's what i built when i learnt about calender module in python.
I'm going to ask the user to enter year and month wished to be printed as calender
import calendar
y_ear = int(input("Please enter year: "))
m_onth = int(input("Please enter month: "))
print(calendar.month(y_ear,m_onth))