Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

dictionaries in python

# Creating a Nested Dictionary
# as shown in the below image
Dict = {1: 'Geeks', 2: 'For',
        3:{'A' : 'Welcome', 'B' : 'To', 'C' : 'Geeks'}}
 
print(Dict)
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #dictionaries #python
ADD COMMENT
Topic
Name
5+7 =