Rot123456789 by twobit

r=input()
print"".join(("?!%c"%(ord(x)&32|(ord(x)%32-1+r)%26+65)+x)["!?".find(x)-x.isalpha()]for x in raw_input())

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top