If you want to reverse a dictionary (turn keys into values and vice versa), use the combination of items() and dictionary comprehension.
If you want to reverse a dictionary (turn keys into values and vice versa), use the combination of items() and dictionary comprehension.