Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nota = -1
- while (int(nota) < 0) or (int(nota) > 10):
- nota = input("Digite uma nota valida ")
- if (nota.isdigit() == False):
- nota = -1
- if (int(nota) < 0) or (int(nota) > 10):
- print("nota invalida ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement