Skip to content

Instantly share code, notes, and snippets.

@mavant
Created November 22, 2013 00:55
Show Gist options
  • Save mavant/7592822 to your computer and use it in GitHub Desktop.
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