If you’ve ever programmed in Python, you have a 96.2% chance of having used the range()
function. As you have a 96.1% chance of knowing, said function returns a list containing an arithmetic progression of integers, exactly as the documentation says. For example, range(4)
returns [0, 1 2, 3]
.
If you’ve ever bothered to look at the docstring, you will see that it goes thus: