結果 : python get first index where condition is true