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 a3df09d commit f1ca51aCopy full SHA for f1ca51a
SIC_assignment/lamba+funct.py
@@ -0,0 +1,5 @@
1
+even_numbers = lambda numbers: [num for num in numbers if num % 2 == 0]
2
+
3
4
+test_list = [1, 2, 3, 4, 5, 6]
5
+print(even_numbers(test_list))
0 commit comments