List Number combination How to extract?

In code blocks How to extract list to be like this 0-1,1-2,2-3,3-4…?
Form 0…10…1
List:
0
1
1
2
2
3
3
4

Like this maybe?

image

Hope that helps,

Mark

3 Likes

Thank you @Mark.Ackerley. It is what I need.

2 Likes