n=91print(format(n,"b"))s2=""while n>0: r=n%2 s2=s2+str(r) n=n//2 print(s2)
Standard input is empty
1011011 1101101
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!