Pattern: PRange
Similar to PSeries, but specify a max/step value.
Arguments
start (int or float)
: Start value
end (int, float or Pattern)
: End value
step (int, float or Pattern)
: Step value
Example output
>>> p = PRange(0, 20, 2)
>>> p.nextn(16)
[0, 2, 4, 6, 8, 10, 12, 14, 16, 18]