DECimal number to BINary by JJeep

x=input();r=''\x0d
while x:r=str(x&1)+r;x>>=1\x0d
print r

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

download

return to the top page