Knight move sorted by rolf(leonid)

while 1:
 r=raw_input()
 for c in'vteaA=.,':
\x09k=int(r,18)-ord(c)
\x09if~k%18<8<k/11<22:print chr(92+k/18)+`k%9`,
 print

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

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page