結果 : get index while iterating list python