thisdict = { "brand": "Ford", "model": {"Mustang":1,"hggg":2}, "year": 1964 } thisdict["model"].pop("Mustang") print(thisdict)
thisdict = { "brand": "Ford", "model": "Mustang", "year": 1964 } thisdict.pop("model") print(thisdict)