Python/Project Euler/Problem 24/sol1.py
2018-04-26 08:53:17 +05:30

7 lines
160 B
Python

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