Skip to content

Instantly share code, notes, and snippets.

Created Feb 14, 2018
What would you like to do?
def function_name (dict):
result = {}
for k, v in dict.items():
result[v] = k
return result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment