Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

2d dictionary in python


dict_names = {'d1' : {'name':'bob', 'place':'lawn', 'animal':'man'},
              'd2' : {'name':'spot', 'place':'bed', 'animal':'dog'}}

Source by nullorempty.org #
 
PREVIOUS NEXT
Tagged: #dictionary #python
ADD COMMENT
Topic
Name
5+3 =