Python int2bin

Needed a quick list of binary numbers from 0-256, so whipped this up…

 

One thought on “Python int2bin

  1. 0 – 00000000
    1 – 00000001
    2 – 00000010
    3 – 00000011
    4 – 00000100
    5 – 00000101
    […]
    251 – 11111011
    252 – 11111100
    253 – 11111101
    254 – 11111110
    255 – 11111111

Leave a Comment