結果 : update variable outside function python