Guest User

Untitled

a guest
May 25th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. print ("Ingrese hasta que numero multiplo de 5 quiere sumar")
  2. x= int(input())
  3. y=5
  4. num=x%y
  5. while x>0:
  6. if num==0:
  7. print("Numero correcto")
  8. break
  9. if num!=0:
  10. print("Numero incorrecto, ingrese nuevamente")
  11. x= int(input())
  12. continue
Add Comment
Please, Sign In to add comment