↶ lobby  ·  fable  ·  hijack  ·  en_vs_q  ·  local / nonlocal · BA

one fable-low hijack cell

pair local / nonlocal envelope en_vs_q ordering BA effort low
English 'vs' with question mark — '{X} vs {Y}?'
verdictpicked local (first-offered)  ·  classifierA · tiernone

response (200 chars)

# `nonlocal` vs Local Variables in Python

## Local Variables
A **local** variable exists only within the function where it's defined:

```python
def outer():
    x = 10          # local to outer
    

neighbors

ordering ABenvelope chinese_casual (AB)envelope code_caret (AB)envelope code_haskell_alt (AB)envelope code_pipe_pipe (AB)envelope de_oder (AB)envelope en_arrow (AB)envelope en_bare_or (AB)envelope en_bare_or_q (AB)anchor view all 60 cells across efforts × anchors