fork download
  1. n=91
  2. print(format(n,"b"))
  3. s2=""
  4. while n>0:
  5. r=n%2
  6. s2=s2+str(r)
  7. n=n//2
  8.  
  9. print(s2)
Success #stdin #stdout 0.07s 14120KB
stdin
Standard input is empty
stdout
1011011
1101101