Skip to content

Commit b50f045

Browse files
committed
Update docstring and 0-padding in directory name. Reference: #3256
1 parent ef0d092 commit b50f045

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

project_euler/problem_38/sol1.py renamed to project_euler/problem_038/sol1.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
"""
2+
Project Euler Problem 38: https://projecteuler.net/problem=38
3+
24
Take the number 192 and multiply it by each of 1, 2, and 3:
35
46
192 × 1 = 192
@@ -67,8 +69,9 @@ def solution() -> int:
6769
if is_9_palindromic(candidate):
6870
return candidate
6971

72+
# just in case
7073
return 192384576
7174

7275

7376
if __name__ == "__main__":
74-
print(solution())
77+
print(f"{solution() = }")

0 commit comments

Comments
 (0)