Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Creating a Nested Dictionary

# welcome to softhunt.net
# Creating a Nested Dictionary
Dictionary = {0: 'Softhunt', 1: '.net',
		2:{'i' : 'By', 'ii' : 'Ranjeet', 'iii' : 'Andani'}}
print(Dictionary)
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Creating #Nested #Dictionary
ADD COMMENT
Topic
Name
5+2 =