Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. nota = -1
  2. while (int(nota) < 0) or (int(nota) > 10):
  3. nota = input("Digite uma nota valida ")
  4. if (nota.isdigit() == False):
  5. nota = -1
  6. if (int(nota) < 0) or (int(nota) > 10):
  7. print("nota invalida ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement