Script : interaction between 2 lists

Hello,

I need your help for a project. I start with Dynamo and I dont know how to manage something with the nods.

I have 2 lists : [1,1,1,4,2,2,3,4] and [1,2,3]
I would like to have a script which analyse if one the numbers of the second list is in the first list.
So with this 2 lists I need to have this list : [true,true,true,false,true,true,true,false]

Thank you

Hi @thomas.1
I think you can try this process

Hi thomas,
a picture is worth a thousand words

  • top option is testing.
  • bottom one allows you to pick specific items

I suggest you go through the dynamo primer. These things a covered.

contains

3 Likes

Thank you everybody!