0
9
Filter element of a list and creating a new list
Shortcut: list.filter
list.filter
0 Comments
newlist = [x for x in initial_list if not predicate(x)]