Reverse Flatten Operation

Dear Experts,
Can anyone suggest script for operation shown at photo. It is reverse operation of flatten operation. Many thanks in advance.

Reverse%20Flatten
Reverse Flatten.dyn (1.2 KB)

I think list.map with list create as the function and your list as the other input might work…

Hope that helps,

Mark

The node you’re searching is List.chop.

2 Likes

Could you please show me with example.

I’d go with Alban’s, I’m not at a PC right now :slight_smile:

1 Like