We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd9119b commit f9bcef9Copy full SHA for f9bcef9
python-walrus-operator/slow_calculations.py
@@ -19,9 +19,7 @@ def slow(number):
19
print(results)
20
21
print("\nfilter()")
22
-results = list(
23
- filter(lambda value: value > 0, (slow(num) for num in numbers))
24
-)
+results = list(filter(lambda value: value > 0, (slow(num) for num in numbers)))
25
26
27
print("\nDouble List Comprehension")
0 commit comments