↶ lobby  ·  fable  ·  hijack  ·  zh_huo  ·  bourbon / silence · BA

one fable-low hijack cell

pair bourbon / silence envelope zh_huo ordering BA effort low
Chinese '或' (huò, or) framing — '{X}或{Y}?'
verdictunclear / off-rails  ·  classifierUNCLEAR · tiernone

response (200 chars)

这个问题比较宽泛,"global 或 local" 在不同场景下含义不同。我先简要介绍几个常见语境,你可以告诉我具体想问哪个:

## 1. 编程中的变量作用域

**全局变量(global)**
```python
x = 10  # 全局变量

def func():
    global x  # 声明使用全局变量
    x = 20
```

**局部变量(local)**
```pyt

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_p (AB)anchor view all 60 cells across efforts × anchors