demo_ref_dictionary_popitem.py:
car = { "brand": "Ford", "model": "Mustang", "year": 1964 } car.popitem() print(car)
C:\Users\My Name>python demo_dictionary_popitem.py
{'brand': 'Ford', 'model': 'Mustang'}