--

I don't think you understand what I'm getting at. I'm referring to how humans think of value ranges. Normally, when we say a range of values, it's an inclusive range. For example, I say count from 1 to 10. So you count 1, 2, 3, 4, 5, 6, 7, 8, 9, 10. You don't leave out the 10.

In Python, you do. This is not natural.

--

--

Responses (1)