1. 函数的嵌套
函数内部再嵌套函数。
def outtwe():
print('aaa')
def inner():
print('bbb')
inner()
outtwe()
2. 函数之间的调用
def func1():
print('func1.....')
def func2():
func1()
print('func2.....')
func2()
1. 函数的嵌套
函数内部再嵌套函数。
def outtwe():
print('aaa')
def inner():
print('bbb')
inner()
outtwe()
2. 函数之间的调用
def func1():
print('func1.....')
def func2():
func1()
print('func2.....')
func2()