Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # coding=utf-8
- # Program wyświetli, czy podana liczba jest parzysta
- liczba = input("Podaj liczbę: ")
- if int(liczba) % 2 == 0:
- print "Liczba",liczba,"jest parzysta!"
- else:
- print "Liczba",liczba,"jest nieparzysta!"
Advertisement
Add Comment
Please, Sign In to add comment