dict1.pop('name') 删除指定键 Python 字典合并 1dict1 = {"name": "immwind"}2dict2 = {"age": 42}3dict1.update(dict2)4# dict1 的值为 {'name': 'immwind', 'age': 42}