how to get rid of parts of a string python 0b from bin() function code example
Example: python binary remove 0b
a = bin(17)
b = bin(17)[2:]
#to format to 8-bits
c = b.zfill(8)
a = bin(17)
b = bin(17)[2:]
#to format to 8-bits
c = b.zfill(8)