Skip to content

Instantly share code, notes, and snippets.

@luminousmen
Created October 20, 2019 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luminousmen/1c5e3361d44618f5eef1f5febd41a2f7 to your computer and use it in GitHub Desktop.
Save luminousmen/1c5e3361d44618f5eef1f5febd41a2f7 to your computer and use it in GitHub Desktop.
# Display calendar of given month of the year
import calendar
if __name__ == "__main__":
yy = int(input("Enter year: "))
mm = int(input("Enter month: "))
print(calendar.month(yy, mm))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment