Number guess 1000 by hallvabo

while 1:
 g=v=1e3;t=input()
 while t-g:v/=2;g=int(g+v*cmp(t,g)+.5);print g,'=<>'[cmp(t,g)]
 print

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

download

return top