ShareCopy to ClipboardRawPreviewnewlist = [x for x in initial_list if not predicate(x)]Filter list03juli1Python public recipesFilter element of a list and creating a new listShortcut: list.filter0 CommentsAdd CommentLog in to add a comment