执行下面Python代码后,输出的结果是?
def outer():
n = 0
def inner():
nonlocal n
n += 1
return n
return inner
f = outer()
print(f(), f(), f())
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析