Split list by range of values

Hi all,

This one should be quit easy but i can’t figure out how to split this list into sublists containing value ranges.
one list with all elements 15001 till 20000
one list with all elements 20001 till 25000

Please help!

One possible way…

1 Like

Vikram, where do I go to learn your code block magic?

Is b1 and b2 just a variable similar to n?

Are these code that everybody uses a native language like python? Or similar?

Thanks in advance


The code (in code blocks) is Design Script and you could begin by looking at