結果 : for each get index python