Skip to content

Instantly share code, notes, and snippets.

@benawad
Created October 31, 2014 17:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benawad/c67a0b9405b87e859472 to your computer and use it in GitHub Desktop.
Save benawad/c67a0b9405b87e859472 to your computer and use it in GitHub Desktop.
Euler problem 24
import itertools
nums = [0,1,2,3,4,5,6,7,8,9]
perm = list(itertools.permutations(nums))
print perm[999999]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment