Answers for "how to display claender in python"

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 "how to display claender in python"

Python Answers by Framework

Browse Popular Code Answers by Language