Skip to content

Commit 40bc9d9

Browse files
committed
Фильтр условие для кода
1 parent 95e0e3e commit 40bc9d9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
numList = [30, 2, -15, 17, 9, 100]
2+
3+
greater_than_10 = list(filter(lambda n: n > 10, numList))
4+
print(greater_than_10)

0 commit comments

Comments
 (0)