Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while True:
- try:
- valorAntigo=int(valorAntigo)
- if valorAntigo in tabelaAntigo:
- break
- else:
- print(" ")
- print('Não encontrado, tente novamente')
- continue
- except ValueError:
- print(" ")
- print('Não encontrado, tente novamente')
- print(" ")
- valorAntigo=input('Qual o ID da música a alterar: ')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement