Answers for "write a python program to print the calendar of a given month and year"

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 "write a python program to print the calendar of a given month and year"

Python Answers by Framework

Browse Popular Code Answers by Language