numof 1 bits in 0 to 255 by xnor

k=10
t=0
exec"t+=t*k+k/9;k*=k;"*8
print'0%s'%t

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

download

return to the top page