Split List by Filter in Python

# Introduction In Python, we can split a list into two groups based on a given filter. This can be done using a list comprehension and the `zip()` function. In this challenge, you will be asked to write a function that takes a list and a filter as input and returns two lists, one containing the elements that pass the filter and the other containing the elements that do not.

|
60 : 00

Click the virtual machine below to start practicing