Skip to content

Commit 15bf2a6

Browse files
committed
Fix lint
1 parent de23d74 commit 15bf2a6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

solutions/project-euler/023/023.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ def is_abundant(number):
2626

2727
for i in abundant_numbers_below_limit:
2828
for j in abundant_numbers_below_limit:
29-
if i + j <= LIMIT and i + j not in numbers_that_are_sum_of_two_abundant:
29+
if (
30+
i + j <= LIMIT
31+
and i + j not in numbers_that_are_sum_of_two_abundant
32+
):
3033
numbers_that_are_sum_of_two_abundant.add(i + j)
3134
sum_numbers_that_are_sum_of_two_abundant += i + j
3235

solutions/project-euler/029/029.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
results = set()
22
for i in range(2, 101):
33
for j in range(2, 101):
4-
results.add(i ** j)
4+
results.add(i**j)
55
print(len(results))

0 commit comments

Comments
 (0)