Garden
2022-11-21
```python x = { "a": 1, "b": 2, } y = { "z": 42 } ```
2022-04-24
`dict1.pop('name')` 删除指定键
2022-02-01
```python dict = {'num': 42}
- `list(<dict>.keys())[0]`:获取字典的键,然后使用 #list 转换为列表并取第一个值 ---