内层函数使用外层函数中定义的变量,应使用()关键字。

8 查阅

内层函数使用外层函数中定义的变量,应使用()关键字。

A.local

B.nonlocal

C.global

D.nonglobal

参考答案:

答案:nonlocal