Python program that will display calendar of given month using Calendar Module. ((MSBTE Pratical Question))

Code:

import calendar

mm = int(input("Enter month: "))

yy = int(input("Enter year: "))

print(calendar.month(yy, mm))

 

Output:

Comments

Popular posts from this blog

State use of pep and pip