Skip to content

Commit 3953d1d

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project_euler/problem_095/sol1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def solution(max_num: int = 1000000) -> int:
134134
primes = generate_primes(max_num)
135135
chain = [0] * (max_num + 1)
136136
for prime in primes:
137-
if prime ** 2 > max_num:
137+
if prime**2 > max_num:
138138
break
139139

140140
multiply(chain, primes, prime, 1, max_num, 0, {})

0 commit comments

Comments
 (0)