Last Updated: February 25, 2016
·
305
· mechmind

Swap keys and values in a dict

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