1import calendar
2
3print("Your Calender\n \n ")
4
5y = int(input("Enter the Year : "))
6m = int(input("Enter the month : "))
7try:
8 mycalender = calendar.month(y , m)
9 print("\n", mycalender)
10except IndexError:
11 print("Its out of range")