Answers for "dictionarry in python"

0

Python Dictionaries

thisdict = {
  "brand": "Ford",
  "model": "Mustang",
  "year": 1964
}
print(thisdict["brand"])
Posted by: Guest on February-01-2021
-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