Contact Me
filter(P, S) is almost always written clearer as [x for x in S if P(x)] Guido van Rossum on Python