--

There's no such thing as right or wrong in programming.

The problem is with Python, not what values range(10) delivers. Python assumes that a range starts at 0. Other languages explicitly state the range as starting value to ending value.

--

--

Responses (1)