結果 : update variable in while loop python