python- nested function
is defined: a function is defined in the body of the function with the def, its scope is only effective in the in vivo function.
def outside(): print("int the outside") def inside(): print("in the inside") inside() outside() 打印结果 int the outside in the inside