Deletion from dictionary Question Delete Honda from the dictionary below. Cars={ “Hyundai”:”Creta”, “Honda”:Civic, “Jeep”:”Compass” } in progress 0 Python Anonymous 55 years 3 Answers 729 views 0
Answers ( 3 )
You may use this->
del Cars[“Honda”]
#pop() : Removes the element from dictionary with the specified key
Cars.pop(“Honda”);
del Cars[“Honda”]