Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- while 1 > 0:
- x = input("wpisz który jest rok lub x jeśli chcesz zamknąć: ")
- if x == 'x':
- exit()
- else:
- if x%4 == 0:
- print("Jest rok przestępny.")
- input("Kliknij Enter aby kontynułować...")
- else:
- print("Nie jest przestepny.")
- input("Kliknij Enter aby kontynułować...")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement