Variable Scope and the LEGB Rule Test
Question 1 of 4
In what order does Python search namespaces when resolving an identifier inside a nested function (the LEGB rule)?
Tip: Press 1-4 on keyboard to select.
In what order does Python search namespaces when resolving an identifier inside a nested function (the LEGB rule)?
Tip: Press 1-4 on keyboard to select.