Answers for "python program to display calendar"

2

calendar program in python

import calendar 

print("Your Calendern n ")

y = int(input("Enter the Year : "))
m = int(input("Enter the month : "))
try:
    mycalender = calendar.month(y , m)
    print("n", mycalender)
except IndexError:
    print("Its out of range")
Posted by: Guest on November-06-2020

Code answers related to "python program to display calendar"

Python Answers by Framework

Browse Popular Code Answers by Language