闭包问题求解
def outside():print("i am outside")
def inside():
print("i am inside!")
inside()
outside()
SyntaxError: unindent does not match any outer indentation level
>>>
闭包的课后作业 为啥我这样打会一直报错呀 请问问题出在哪 如何调用内部函数呢 缩进问题
def outside():
print("i am outside")
def inside():
print("i am inside!")
inside()
outside() outside()应该与第一行代码平级
页:
[1]