fork download
  1. # 0J/QsNGA0YXQvtC80LXQvdC60L4=
  2. import random
  3. bn = ''.join(random.choice('01') for i in range(256))
  4. print(bn)
  5.  
  6. dn = int(bn, 2)
  7. print(dn)
  8.  
  9. hn = hex(dn)[2:].upper()
  10. print(hn)
Success #stdin #stdout 0.14s 14300KB
stdin
Standard input is empty
stdout
0000001110101000110100110010111100110010101111010101100011110101110100001001101101011101110101111010111000111111100011000111011011101101101000010110010001111100111100101101110010001110111001000011010000001111100100101111101010101001111001101010011111010000
1655226393572741524843318146003211380072324590724878718874605580651973748688
3A8D32F32BD58F5D09B5DD7AE3F8C76EDA1647CF2DC8EE4340F92FAA9E6A7D0