← Back to PythonLEGB Rule
Pythonpython
The Question
What is the LEGB rule in Python's scope resolution?
What a Strong Answer Covers
- L-E-G-B in order
- "nonlocal
- "global
- "closure
Related Questions
Practice This Question
Get AI-graded feedback on your answer with follow-up probes on weak points.
Take the Free Assessment