Generates an array containing a sequence of numbers from start to end (inclusive) with optional step size.
For example, range(0,5) produces [0,1,2,3,4,5] and range(0,10,2) produces [0,2,4,6,8,10].
Useful for creating numeric sequences and iteration ranges.
Generates an array containing a sequence of numbers from start to end (inclusive) with optional step size.
For example, range(0,5) produces [0,1,2,3,4,5] and range(0,10,2) produces [0,2,4,6,8,10].
Useful for creating numeric sequences and iteration ranges.
Example