Created
December 1, 2014 20:19
-
-
Save jezinka/fae99a3be83bef71370e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from string import maketrans | |
intab = "abcdefghijklmnopqrstuvwxyz" | |
outtab = "cdefghijklmnopqrstuvwxyzab" | |
trantab = maketrans(intab, outtab) | |
text = "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" | |
print text.translate(trantab) | |
print 'map'.translate(trantab) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment