Knight Move by twobit

while 1:b=w=raw_input();i=92784528096;exec'for c in w:a=b;b=ord(c)+i%5-2;i/=5\nif a%97|b%49<8:print"%c%%c"%a%b,\n'*8;print

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

download

return to the top page