Skip to content

Instantly share code, notes, and snippets.

@thethomaseffect
Created May 6, 2013 01:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thethomaseffect/5522930 to your computer and use it in GitHub Desktop.
Save thethomaseffect/5522930 to your computer and use it in GitHub Desktop.
A command-line converter from English to the language used by characters in the anime "Hataraku Maō-sama" in one line of code because I wanted to show off.
# MaouTranslator.py
print (str.lower(input("Enter English text to be translated: ")).translate(str.maketrans("abcdefghijklmnopqrstuvwxyz","azyxewvtisrlpnomqkjhugfdcb")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment