結果 : convert true false into 1 0 python