Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

accessing dictionary elements in python

thisdict = {
  "brand": "Ford",
  "model": "Mustang",
  "year": 1964
}
x = thisdict["model"]
 
PREVIOUS NEXT
Tagged: #accessing #dictionary #elements #python
ADD COMMENT
Topic
Name
5+4 =