Rot123456789 by recursive

from string import*
L=ascii_lowercase
U=L.upper()
n=input()%26
print raw_input().translate(maketrans("?!"+L+U,"!?"+L[n:]+L[:n]+U[n:]+U[:n]))

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

download

return top