import calendar year =int( input("Enter the year of the required calendar ")) month_no = int( input("Enter the month of the required calendar ")) print(calendar.month(year,month_no))