結果 : python find first index satisfying condition