結果 : python convert boolean list to int