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