Skip to content
Advertisement

Python Filtering 2 Lists

I’m trying to find a way to use one list to filter out elements of another.

Kinda like the intersect syntax but the exact opposite

JavaScript

expected outcome

JavaScript

Advertisement

Answer

Simple way:

JavaScript

or

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement