📜  在字典python代码示例中交换键和值

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

代码示例4
dict = {value:key for key, value in dict.items()}