Python For Loop Stack Overflow Meaning