結果 : python first index where condition is true