Advertisement
Guest User

Untitled

a guest
Nov 14th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. import calendar
  2. Q = input("Vuoi vedere il calendario?[y/n] ")
  3. while Q == "y":
  4.     yy = (int(input("Inserisci l'anno[yyyy]: ")))
  5.     mm = (int(input("Inserisci il mese[mm]: ")))
  6.     print(calendar.month(yy, mm))
  7. else:
  8.     print('')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement