Created
November 22, 2013 00:55
-
-
Save mavant/7592822 to your computer and use it in GitHub Desktop.
Project Euler problem 24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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