主页
Python
Python 字典
demo_dictionary_in
运行 ❯
×
更改方向
保存代码
更改主题
thisdict = { "brand": "Ford", "model": "Mustang", "year": 1964 } if "model" in thisdict: print("Yes, 'model' is one of the keys in the thisdict dictionary")
Yes, 'model' is one of the keys in the thisdict dictionary