>>_paste+Id
For people who, like me, thought that this would be slower than repeated division: my crappy benchmark indicates that allocating a new string and taking its length is faster by a factor of 2–2.5x.
Edit: In C, the version that loops is 15 times faster than the version that allocates a new string. Python is weird.