range¶
Create a list of integers within a range, ie ->: range 3 1 -> [3,2,1]. If given one arg, then that is considered 'stop'. If given two args, they are 'start' and 'stop'. If given three args, the last arg is for how much to increment through range.
Inputs¶
Name | Type | Default | Required | Description |
---|---|---|---|---|
start | int | 0 | True | Starting number. |
end | int | None | False | Ending number. |
increment | int | None | False | The increment in the range - when start > end, defaults to -1.. |
Arguments¶
Position | Argument | Type |
---|---|---|
1 | start | int |
2 | end | int |
3 | increment | int |
Returns¶
list