Answer to problem 24 from Project Euler. Python is the programming language of choice for this problem too.
#!/usr/bin/env python # Project Euler problem 24 import itertools newlist = list(map("".join, itertools.permutations('0123456789'))) print newlist[999999]