結果 : method to convert binary to decimal in python