Skip to content

Instantly share code, notes, and snippets.

@AnnikaNoren
Created November 12, 2020 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AnnikaNoren/a878d18d171ec971a6cebfe961e29f3c to your computer and use it in GitHub Desktop.
Save AnnikaNoren/a878d18d171ec971a6cebfe961e29f3c to your computer and use it in GitHub Desktop.
def encrypt_trans(word):
return(word[::-1].translate(word[::-1].maketrans("aeiou","01223"))+"aca")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment