Need help removing items from a list by condition

Hi,

So I’m trying to filter that list on the left and remove the items in it, which appear in the list on the right:

I think the solution would be to test each item in the furniture list and see if it’s inside the list on the right, if it is, it will be removed from that list.

the next thing I want to do is to remove the number. Any ideas how this goes?

I attached the file.
Thanks!
TEST1.gh (9.7 KB)

Hi,
A solution but we should be able to do better.


RE TEST1.gh (11.3 KB)

Intersting, thanks!
and yeah I agree…I also would love to learn a more pythonic approach :slight_smile: