Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clave = {"a":"0","e":"2","i":"4","o":"6","u":"8"}
- frase = input("Escribe la frase a codificar:")
- for key in clave.keys():
- frase = frase.lower().replace(key ,clave[key])
- print (frase)
RAW Paste Data
Copied