3 ms·
Even though it's more "Pythonic", I tend to avoid your Python version. I think my favorite way to write that would be: > import whatever > filter(_ not in y,
by zoltar 6y ago
Even though it's more "Pythonic", I tend to avoid your Python version. I think my favorite way to write that would be:
> import whatever
> filter(_ not in y, foo)
For me it's more readable. To each their own, of course.