def test1():
    a = 120
    print("局部变量a:",a)
def test2():
    a = 360
    print("局部变量a:",a)
    a = 500000
test1()
test2()
print(a)