Knight move sorted by enohIO

while 1:a,b=raw_input();print" ".join([chr(i)+`j`for(i,j)in[(x+ord(a),y+int(b))for x in r for y in r if abs(x*y)==2]if 0<j<9<i-87<18])

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)


return to the top page