Skip to content

Instantly share code, notes, and snippets.

@curzona
Created March 8, 2014 17:42
Show Gist options
  • Save curzona/9435684 to your computer and use it in GitHub Desktop.
Save curzona/9435684 to your computer and use it in GitHub Desktop.
Invert a bijective dictionary
dict(zip(d.values(), d.keys()))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment