Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Nested dictionary Python

D = {'emp1': {'name': 'Bob', 'job': 'Mgr'},
     'emp2': {'name': 'Kim', 'job': 'Dev'},
     'emp3': {'name': 'Sam', 'job': 'Dev'}}
Source by www.learnbyexample.org #
 
PREVIOUS NEXT
Tagged: #Nested #dictionary #Python
ADD COMMENT
Topic
Name
2+9 =