Created
October 3, 2013 18:48
-
-
Save aglassman/6814965 to your computer and use it in GitHub Desktop.
Python Challenge #1: A not as cool way.
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
s="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." | |
o="" | |
for x in s: | |
if ord(x)>=ord('a') and ord(x)<=ord('z'): | |
o+=chr((ord(x)+2-ord('a'))%26+ord('a')) | |
else: | |
o+=x | |
print o |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment