Hint

🧠 Not sure where to start?

Start by creating an empty dictionary that will store the swapped key-value pairs:

swapped = {}

Now think: how can you go through the original dictionary and access both the key and the value? Try this:

for key, value in original.items():
    ...

Inside the loop, assign the value as the new key and the key as the new value:

swapped[value] = key

You can also explore doing the same in one line using dictionary comprehension once you understand the logic.