Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
gahjelle committed Aug 12, 2024
1 parent cd9119b commit f9bcef9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python-walrus-operator/slow_calculations.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ def slow(number):
print(results)

print("\nfilter()")
results = list(
filter(lambda value: value > 0, (slow(num) for num in numbers))
)
results = list(filter(lambda value: value > 0, (slow(num) for num in numbers)))
print(results)

print("\nDouble List Comprehension")
Expand Down

0 comments on commit f9bcef9

Please sign in to comment.