Computer Science, asked by aniketat9d, 5 hours ago

Write a python program to create a dictionary for storing below
information: (Remembering, Applying)
Roll_Number = 1, Name = 'Damodar', City = 'Nasik', Country = 'India'
Display all the keys.
Display all the values.
Display value for the key = 'City'
Remove all items from the dictionary.​

Answers

Answered by kashvimaurya9725
0

Answer:

dict = {"Roll_Number": 1, "Name": "Damodar", "City": "Nasik", "Country": "India"}

print(dict.keys())

print(dict.values())

print(dict["City"])

dict.clear()

Similar questions