Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove element from dictionary python

thisdict = {
  "brand": "Ford",
  "model": "Mustang",
  "year": 1964
}
thisdict.pop("model")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #element #dictionary #python
ADD COMMENT
Topic
Name
1+3 =