Knight Move by wilkes

B=18
while 1:n=int(input(),B);print(*("%c%d"%(87+O/B,O%B)for O in[n-ord(o)+70for o in'V2!#6Zki']if 0<O%B<9<O//B<B))

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

download

return to the top page