The Python range() function returns an immutable sequence of integers between a given start and endpoint, incrementing by a given amount.
Python range Syntax
Here’s the syntax for the Python range() function:
range(start, stop, step)
start is the integer to start incrementing from – it will be included in the range
If it is not supplied, it will be assumed to be 0
stop is the integer to end the range at –...