How to convert decimal to binary list in python,list('{0:0b}'.format(8))