結果 : python function not changing global variable