結果 : number of 1s in binary representation python