DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+8 =
Submit