Skip to main content
Create Range starts at one number and adds a step until it reaches the end boundary.

Inputs

Output

With Start 0, End 5, and Step 2, the result is [0, 2, 4]. Turning on Inclusive adds one more stepped value.
Use a positive step for an end greater than the start and a negative step for an end less than the start. A zero step or a step pointed away from the end cannot produce a valid range. When Inclusive is on and the step does not land exactly on End, the extra value can pass the end boundary.