Python Range Stack Overflow Meaning