How to separate a list to multiple lists by some range?

How to dispatch a list to multiple lists by some range?


like the second list the range is 3<x≦4 and the third list the range is 6<x≦10
Can “dispatch” definite a range of numbers?

Partition will do this

image

1 Like

Expressions can do this with conditionals
expression-if-and.gh (5.9 KB)

1 Like

Separate_list.re.gh (6.1 KB)

another way.

2 Likes

Thank you so much ! I’ll try these three ways ~!