Advertisement
Guest User

new

a guest
Jun 20th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. dicionario= {'one':'um','two':'dois','three':'tres'}
  2. while True:
  3.     esc=input('one,two,three,sair: ')
  4.     if esc=='sair':
  5.         break
  6.     print(dicionario[esc])
  7. print('finalizado')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement