Created
May 8, 2016 07:57
-
-
Save complxalgorithm/d253311c026e4e2da449ff658b3e206b to your computer and use it in GitHub Desktop.
Python program that outputs calendar for a specific month and year.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Python program to display calendar of given month of the year | |
# import module | |
import calendar | |
# ask of month and year | |
yy = int(input("Enter year: ")) | |
mm = int(input("Enter month: ")) | |
# display the calendar | |
print(calendar.month(yy,mm)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment