What does the nonlocal keyword do when used in a function?
A. It indicates that a variable is defined in the nearest enclosing scope
B. It defines a new variable
C. It specifies the return type of the function
D. It is used to create a loop
Answer: Option A

Join The Discussion