Skip to content

Commit f9bcef9

Browse files
committed
Fix formatting
1 parent cd9119b commit f9bcef9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

python-walrus-operator/slow_calculations.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ def slow(number):
1919
print(results)
2020

2121
print("\nfilter()")
22-
results = list(
23-
filter(lambda value: value > 0, (slow(num) for num in numbers))
24-
)
22+
results = list(filter(lambda value: value > 0, (slow(num) for num in numbers)))
2523
print(results)
2624

2725
print("\nDouble List Comprehension")

0 commit comments

Comments
 (0)