Skip to content

Instantly share code, notes, and snippets.

@eustin
Created June 8, 2020 03:30
Show Gist options
  • Save eustin/8828a1a09b96730e14ce8e9fae17bb72 to your computer and use it in GitHub Desktop.
Save eustin/8828a1a09b96730e14ce8e9fae17bb72 to your computer and use it in GitHub Desktop.
all_permutations = list(itertools.permutations(objects_to_rank))
for x in sorted(all_permutations):
print(x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment