函数嵌套:
def fun1():
print("fun1正在执行")
def fun2():
print('fun2正在执行')
fun2()
fun1()
fun2()
fun1正在执行
fun2正在执行
Traceback (most recent call last):
File "F:/pythonProject/20.py", line 7,
函数嵌套:
def fun1():
print("fun1正在执行")
def fun2():
print('fun2正在执行')
fun2()
fun1()
fun2()
fun1正在执行
fun2正在执行
Traceback (most recent call last):
File "F:/pythonProject/20.py", line 7,