結果 : loop through index and value of list python