Example Scope in Nested Functions The nonlocal keyword gives access to variables in the enclosing function. Audio lesson nonlocal closure nested 11 Jun 2026