numof 1 bits in 0 to 255 by kt3k

a=[0]
exec"a+=[x+1for x in a];"*8
print`a`[1::3]

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

download

return to the top page