Hi

I have what I think is a fairly simple question. I have a list with sublists, and each sublists can be of any length. I also have another list with variables the same length as the first list, only without any sublists. Each sublist I want to send to a function together with the corresponding variable in the second list, and to something to all variables in the sublist. I can do it with some simple python scripting, but I was wondering how I can do it without it. Just with Dynamo nodes. Can anybody help me with this? Below there is an example definition…

Thanks!

Thomas

Code in Python-node:

`a = IN[0]`

b = IN[1]

i = 0

while i < len(a):

j = 0

while j < len(a[i]):

a[i][j] += b[i]

j += 1

i += 1

#Assign your output to the OUT variable

OUT = a