Python Dictionaries
A dictionary stores data in key-value pairs.
Creating a Dictionary
student = {
"name": "Aradhya",
"age": 21
}
Values can be accessed using their keys.
Common Methods
get()keys()values()items()update()pop()
Dictionary keys must be hashable and are commonly strings or numbers.