📜  如何将字典中的值与相同的键python代码示例进行比较

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

代码示例1
if (key in dictionary2 and dictionary1[key] == dictionary2[key]):