Exercise: Reverse a Hash

Try to convert a hash keys to values and values to keys.

Problem statement

In this challenge, you will invert a hash. That is, you will make a new hash with values as keys and keys as values. There is an easy way ...