Create new List by selecting specific subLists from other existing Lists

Hi everyone

I have two separate list of lists on the left that I’d like to organize into the list structure on the right. Right now I’m manually list.deconstruct and then individually list.join but this wouldn’t work if the number of leftside lists on Level 2 changes (say 5 instead of 3 lists for each list of lists). Is it a list.combine or list.lace thing?

Thanks a bunch.

Got it

# Enable Python support and load DesignScript library
import sys
import clr
from Autodesk.DesignScript.Geometry import *

# The inputs to this node will be stored as a list in the IN variables.
slab_list = IN[0]
open_list = IN[1]

output = [[slab_instance, open_instance] for slab_instance, open_instance in zip(slab_list,open_list)] 

OUT = output