Answers for "python binary remove 0b"

0

python binary remove 0b

a = bin(17)
b = bin(17)[2:]

#to format to 8-bits
c = b.zfill(8)
Posted by: Guest on June-30-2020

Python Answers by Framework

Browse Popular Code Answers by Language