Python/project_euler/problem_24/sol1.py
2018-10-19 17:14:25 -05:00

7 lines
160 B
Python

from itertools import permutations
def main():
result=list(map("".join, permutations('0123456789')))
print(result[999999])
if __name__ == '__main__':
main()