Dicts

Dicts are used for two kinds of data.

First of all to represent a single entry of a data structure. For example

user_1 = {
    "first_name": "John",
    "last_name': "Doe",
    "active": True
    "age": 23,
}

users = [user_1]

or a map to (cumulated) values. For example

fruits = {
    "apple": 12,
    "pear": 6,
    "orange": 10,
    "kiwi": 9,
}

Next: