thisdict = { "brand": "Ford", "model": "Mustang", "year": 1964 } thisdict.clear()
thisdict = { "brand": "Ford", "model": "Mustang", "year": 1964 } thisdict.pop("model")
dict_name.clear()
del d[key]
dict.pop("key")
squares = {1: 1, 2: 4, 3: 9, 4: 16, 5: 25} # remove a particular item, returns its value # Output: 16 print(squares.pop(4))