Last Updated: February 25, 2016
·
303
· mechmind

Swap keys and values in a dict

swapped = dict(map(reversed, orig_dict.items()))