For many, this is where a dictionary has an edge over a list or a tuple. Since there are no linear indices, we do not need to keep track of where values are stored.
Instead, we can access a value by enclosing its key in square brackets, []. This is more meaningful than the integer indices we use for tuples and lists.
Alternatively, we can use the get() method as follows: