Python Int to Binary
integer = 7
bit_count = 5
print(f'{integer:0{bit_count}b}') # 0 filled
Combative Crocodile
integer = 7
bit_count = 5
print(f'{integer:0{bit_count}b}') # 0 filled
binary = bin(7)
print(binary)