結果 : update variable in for loop python