There was an error while loading. Please reload this page.
1 parent d4eed4c commit 186ae6fCopy full SHA for 186ae6f
exercises/13-Filter_list/app.py
@@ -1,9 +1,9 @@
1
all_numbers = [23,12,35,5,3,2,3,54,3,21,534,23,42,1]
2
3
4
-def filter_function(items):
+def filter_function(item):
5
# Update here
6
- return items % 2 == 0
+ return item % 2 == 0
7
8
greater_than_ten = list(filter(filter_function, all_numbers))
9
0 commit comments