range
Function description: range([start,] stop[, step]), generate a sequence according to the range specified by start and stop and the step size set by step.
range example:
>>> range(6) [0, 1, 2, 3, 4, 5] >>> range(0,6,2) [0, 2, 4]
Function description: range([start,] stop[, step]), generate a sequence according to the range specified by start and stop and the step size set by step.
range example:
>>> range(6) [0, 1, 2, 3, 4, 5] >>> range(0,6,2) [0, 2, 4]