Converting integer to binary in python,bin(6)[2:].zfill(8)