Skip to content

Instantly share code, notes, and snippets.

@JakenHerman
Created February 13, 2014 16:32
Show Gist options
  • Save JakenHerman/8978541 to your computer and use it in GitHub Desktop.
Save JakenHerman/8978541 to your computer and use it in GitHub Desktop.
Phython Challenge 2 Source Code
from string import maketrans
str = "g fmnc wms bgblr rpylqjyrc gr zw fylb. rfyrq ufyr amknsrcpq ypc dmp. bmgle gr gl zw fylb gq glcddgagclr " \
"ylb rfyr'q ufw rfgq rcvr gq qm jmle. sqgle qrpgle.kyicrpylq() gq pcamkkclbcb. lmu ynnjw ml rfc spj."
intab = "abcdefghijklmnopqrstuvwxyz"
outtab= "cdefghijklmnopqrstuvwxyzab"
trantab = maketrans(intab, outtab)
print str.translate(trantab)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment