Combine Nested List and Normal List

I have two sets of list, one is a nested list and one is a normal list that I want to combine. Here are the following list:

List 1
1.
1.1
1.2
2.
2.1
2.2
2.3
3.
3.1
3.2
4.
4.1
4.2
5.
5.1

List 2

  1. Red
  2. Green
  3. Blue
  4. Orange
  5. Yellow

My intention is to combine them like this:
1.
1.1 Red
1.2 Red
2.
2.1 Green
2.2 Green
2.3 Green
3.
3.1 Blue
3.2 Blue
4.
4.1 Orange
4.2 Orange
5.
5.1 Yellow

Does anyone know how to do this in dynamo? Would really appreciate it… Thanks!

@L2 and longest lacing. Have a look at session 6 of the Dynamo office hours, posted here: Dynamo Office Hours - YouTube

2 Likes