Pedagogical style [was Re: The "loop and a half"]
Such code would never pass code review among even moderately experienced Python coders, let alone experts. By teaching this first, Stefan's students have to literally unlearn what he teaches them, in order to learn the right way of walking a string