Advertisement
Fhernd

traduccion.py

Jan 16th, 2018
1,221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. escritor = 'Dickens'
  2.  
  3. mapa_traduccion = escritor.maketrans('iz', 'yz')
  4. traduccion = escritor.translate(mapa_traduccion)
  5.  
  6. print(traduccion)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement