Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lista = [0, 1, 2]
- usuario =''
- while usuario not in lista:
- usuario = input('Escolha um número entre 0 e 2: ')
- lista = [0, 1, 2]
- usuario =''
- while usuario != lista:
- usuario = input('Escolha um número entre 0 e 2: ')
Add Comment
Please, Sign In to add comment