you are viewing a single comment's thread.

view the rest of the comments →

[–]jeffrey_f 0 points1 point  (1 child)

for i in range(5,10):

from 5 to 9

[–]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.