File tree 3 files changed +3
-6
lines changed
3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 636
636
* [ Sol1] ( https://github.com/TheAlgorithms/Python/blob/master/project_euler/problem_037/sol1.py )
637
637
* Problem 038
638
638
* [ Sol1] ( https://github.com/TheAlgorithms/Python/blob/master/project_euler/problem_038/sol1.py )
639
- * [ Sol1 ] ( https://github.com/TheAlgorithms/Python/blob/master/project_euler/problem_038/sol2.py )
639
+ * [ Sol2 ] ( https://github.com/TheAlgorithms/Python/blob/master/project_euler/problem_038/sol2.py )
640
640
* Problem 039
641
641
* [ Sol1] ( https://github.com/TheAlgorithms/Python/blob/master/project_euler/problem_039/sol1.py )
642
642
* Problem 040
Original file line number Diff line number Diff line change 1
1
"""
2
- Project Euler Problem 38
3
- https://projecteuler.net/problem=38
2
+ Project Euler Problem 38: https://projecteuler.net/problem=38
4
3
5
4
Take the number 192 and multiply it by each of 1, 2, and 3:
6
5
@@ -25,7 +24,6 @@ def solution() -> int:
25
24
Calculates and returns the largest 1-9 pandigital 9-digit number as product of
26
25
integer set n>1.
27
26
28
- Answer:
29
27
>>> solution()
30
28
932718654
31
29
@@ -78,4 +76,4 @@ def is_pandigital(num: int) -> bool:
78
76
79
77
if __name__ == "__main__" :
80
78
81
- print (solution ())
79
+ print (f" { solution () = } " )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments