14.6 Printing Dictionaries and Dictionary Items

We can print entire dictionaries in a similar way to lists:

Dictionaries are not organized with indices like list and tuples, but are paired as keys and values. If we want print a value, we have to refer to its key. For example:

If we want to print the key and values together, we need to use a loop: