Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

accessing dictionary elements in python


>>> mydict["Apple"]
{'American': '16', 'Mexican': 10, 'Chinese': 5}

Source by coders911.org #
 
PREVIOUS NEXT
Tagged: #accessing #dictionary #elements #python
ADD COMMENT
Topic
Name
2+1 =