Answers for "dictionaries python explained"

-1

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)
Posted by: Guest on February-25-2022

Python Answers by Framework

Browse Popular Code Answers by Language