📜  从字典中删除键 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:50.998000             🧑  作者: Mango

代码示例6
hh = {"a":3, "b":4, "c":5}

# delete a entry
del hh["b"]
print(hh)
# {'a': 3, 'c': 5}