Knight Move by hallvabo

while 1:
 a,b=raw_input()
 for d in':8GgxzkK':
\x09p=int(b)*16+ord(a)-ord(d)-24
\x09if 136&p<1:print chr(p%16+97)+`p/16+1`,
 print

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

download

return to the top page