Advertisement
Zapped

Even or odd: Python

May 9th, 2020
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.10 KB | None | 0 0
  1. a=int(input("Inserta un nΓΊmero entero"))
  2. if a%2==0:
  3.     print("Es par")
  4. else:
  5.     print("Es impar")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement