📜  python delete dict key if exists - Python 代码示例

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

代码示例1
mydict.pop("key", None)