Guest User

Untitled

a guest
Nov 24th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. def par_impar():
  2. n=input ("Dime un numero entero")
  3. resto=n%2
  4. if resto==0:
  5. print "El numero",n, "es par"
  6. else:
  7. print "El numero",n,"es impar"
  8. par_impar()
Add Comment
Please, Sign In to add comment