Hi @MOJO,
Welcome to the Dynamo community.
Try this
or
List.Transpose([y[0..List.Count(y)-2],y[1..List.Count(y)-1]]);
2 Likes
Food for thoughts:
your_list = IN[0]
output = []
for index, e in enumerate(your_list):
if index - 1 >= 0:
output.append([your_list[index-1], e])
OUT = output
3 Likes
7 Likes
Thanks For your Help