Another List.map / List.combine post

I am positive that this has been answered before, but after a day of searching I can’t find the post.

I have two lists of lists. They are: [[A.1], [A.2], [A.3]], and [[1,2,3],[1,2],[1]] .

I would like to combine them to create [[A1.1, A1.2, A1.3],[A2.1,A2.2],[A3.1]] .

In other words: List1[0] concatenates with each item in List2[0], List1[1] concatenates with each item in List2[1], etc.

I don’t know how to do this with Dynamo nodes. In Grasshopper, I think this is done with lacing. In Python, this is accomplished with a clever loop. A few attempts are shown in the screenshot attached. None of those attempts get me the result I seek.

Use replication guide:

2 Likes

Other solutions:

3 Likes

Thank you both. So easy!