Add values from two lists

Hello everyone,
how can I add the values from two lists in the way it appears in the image?

So that I can deduce a sequence of points from this.

Best regards Benjamin.

Remove the flatten from your design script, and replace with a Math.Sum function or use a Math.Sum node at that location.

1 Like


sum.dyn (15.7 KB)

lst1 = List.Cycle([a,b],c);
lst2 = Math.Sum(List.TakeItems(lst1,1..List.Count(lst1)));
1 Like

Thank you!

1 Like