結果 : number of ones in binary representation python