Skip to content

Instantly share code, notes, and snippets.

@zeldani
Created February 27, 2014 19:05
Show Gist options
  • Save zeldani/9256846 to your computer and use it in GitHub Desktop.
Save zeldani/9256846 to your computer and use it in GitHub Desktop.
from string import maketrans
intab = "aeiou"
outtab = "4310V"
transtab = maketrans(intab, outtab)
str = raw_input(">> ");
print str.translate(transtab);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment