Last Updated: February 25, 2016
·
285
· mechmind

Swap keys and values in a dict

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