Skip to content

Commit 373a049

Browse files
authored
Update README.md
1 parent 93353e7 commit 373a049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/13.1-Filter_and_list/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ For example, this algorithm filters the `all_numbers` list and returns a new lis
88
all_numbers = [23,12,35,5,3,2,3,54,3,21,534,23,42,1]
99

1010
def my_function(number):
11-
return number % 2 == 0
11+
return number % 2 == 1
1212

1313
odd_numbers = list(filter(my_function, all_numbers))
1414
print(odd_numbers)

0 commit comments

Comments
 (0)