Skip to content

Commit ab9ee40

Browse files
committed
adding 22 and 24
1 parent 4b58a88 commit ab9ee40

File tree

2 files changed

+540
-0
lines changed

2 files changed

+540
-0
lines changed

Project Euler/Problem 24/sol1.py

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from itertools import permutations
2+
def main():
3+
result=list(map("".join, permutations('0123456789')))
4+
print(result[999999])
5+
6+
if __name__ == '__main__':
7+
main()

0 commit comments

Comments
 (0)