Exercise: Swap dictionary keys and values

Iterate over the key-value pairs of the capitals dictionary and assign swapped key-value pairs to swapped_dict.
Python
Setting up Python environment...
Output