🌈 搜索
📅  最后修改于: 2022-03-11 14:47:06.203000             🧑  作者: Mango
# You can use 'in' on a dictionary to check if a key exists d = {"key1": 10, "key2": 23} "key1" in d # Output: # True