- Dictionary is a predefined mutable datatype used to store data in key-value pairs.
Dictionary
- Dictionary can be mutable
- Dictionary are used to store data values in key :values pairs
- there are no index in dictionary
- key values shood not be same
- and value can be same

info = {
"key" : "value",
"name" : "apanacollage",
"learning" : "python",
}
print(info)
info = {
"name" : "cpandu",
"age" : "lund",
}
print(info)
print(info["name"] = "geetha"
nested dictionary
info = {
"hi" : "hello",
"sub" : {
"eng" : "23",
"en" : "23",
"e" : "23",
}

sets
- set is a collection of the unordered items
- we cant store the mutable in the set
- set is immutable
- dictionary and list cannot be stored in the sets
- duplicate values are not stored