quiz.py 153 Bytes Edit 1 2 3 4 5 6 7 8 9 10 11 def test1(): a = 120 print("局部变量a:",a) def test2(): a = 360 print("局部变量a:",a) a = 500000 test1() test2() print(a)