Use the pop
method to remove "model" from the car
dictionary.
car = {
"brand": "Ford",
"model": "Mustang",
"year": 1964
}
@(16)
car = {
"brand": "Ford",
"model": "Mustang",
"year": 1964
}
car.pop("model")
car = {
"brand": "Ford",
"model": "Mustang",
"year": 1964
}
car.pop('model')