Translate American to Canadian by hallvabo

s=open('../fd/0').read()
t=''
for c in'\x13u/{maple syrup\x0eu\n~c)}re\x0b}re\x1a}re&~\x1dme*ztoqu\x1e}re&u\x16me1~u\x02':
\x09x=ord(c)
\x09if 32!=x<97:t+=s[:x];s=s[x:]
\x09elif'y'<c:s=s[127-x:]
\x09else:t+=c
print t

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

download

return to the top page