delete item from a dictionary python code example
Example 1: delete key from python dictionary
dictionary.pop(key)
Example 2: remove element from dictionary python
thisdict = {
"brand": "Ford",
"model": "Mustang",
"year": 1964
}
thisdict.pop("model")