結果 : update list while iterating python