結果 : update a variable in a function python