demo_dictionary_in.py:
thisdict = { "brand": "Ford", "model": "Mustang", "year": 1964 } if "model" in thisdict: print("Yes, 'model' is one of the keys in the thisdict dictionary")
C:\Users\My Name>python demo_dictionary_in.py
Yes, 'model' is one of the keys in the thisdict dictionary