Local and enclosing scopes
Python looks for names in local, enclosing, global, and built-in scopes in order.
4 minutes. No sign-up needed.
Can we use cookies and session replays to see how you use Zoonk, so we can improve it? Privacy
Python looks for names in local, enclosing, global, and built-in scopes in order.
4 minutes. No sign-up needed.
Example plan3 lessons · 11 min
An example. Your plan follows your answers, so it can start later and end sooner.
Start free, no account needed.