Python/project_euler/problem_24/sol1.py

7 lines
160 B
Python
Raw Normal View History

2018-10-19 12:48:28 +00:00
from itertools import permutations
def main():
result=list(map("".join, permutations('0123456789')))
print(result[999999])
if __name__ == '__main__':
main()