Error in explanation?

Under “Working with lists in Python” in “The Power of Range” section ( ), there seems to be an error in the Learn Section.

On the last line, instead of 100 it should be 99 right?


Your arguments that you passed through are: 1, 100, 10, or, the start (index), stop (the number you’re ending/stopping at), step (the increase). So, 91 + 10 = 101, which is greater than the stopping point of 100.



1 Like