結果 : python update variable in loop