Skip to content

Instantly share code, notes, and snippets.

@mavant
Created November 22, 2013 00:55
Show Gist options
  • Select an option

  • Save mavant/7592822 to your computer and use it in GitHub Desktop.

Select an option

Save mavant/7592822 to your computer and use it in GitHub Desktop.
Project Euler problem 24
import itertools
ints = range(10)
perms = list(itertools.permutations(ints))
print (perms[999999])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment