Skip to content

Instantly share code, notes, and snippets.

@complxalgorithm
Created May 8, 2016 07:57
Show Gist options
  • Save complxalgorithm/d253311c026e4e2da449ff658b3e206b to your computer and use it in GitHub Desktop.
Save complxalgorithm/d253311c026e4e2da449ff658b3e206b to your computer and use it in GitHub Desktop.
Python program that outputs calendar for a specific month and year.
# 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