Instead of repeating the nodes two times, is there way to make code work based on the list count, I hope u understand my point. and just to know I don’t want flatten the list because I want study each sub-list alone.
If there is way instead I put List[0] then list[1], to be like List[x] and x based on the number of sub-list and have the output as u did, 3 outputs ??