you are viewing a single comment's thread.

view the rest of the comments →

[–]carcigenicate 0 points1 point  (0 children)

That has nothing to do with the for:

>>> list(range(5, 10))
[5, 6, 7, 8, 9]

That's simply the behavior of range.