Skip to content

Commit 7462729

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent df249f2 commit 7462729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project_euler/problem_190/sol1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def solution(n: int = 15) -> int:
3939
p = 1.0
4040
for i in range(1, m + 1):
4141
xi = i * x1
42-
p *= xi ** i
42+
p *= xi**i
4343
total += int(p)
4444
return total
4545

0 commit comments

Comments
 (0)