Python · Functions: Parameters & Scope
A nested function has its own namespace and can't see the enclosing function's locals. How can you still hand it an enclosing value at definition time (without nonlocal)?
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
