Paul Rubin wrote: > 0..5 = 0,1,2,3,4 would be awful. Better would be introduce a new > function, say maxindex(sequence), equal to len(sequence)-1. Then > you'd say > > for i in 0..maxindex(sequence): If you're going to define a new function, how about for i in indices(sequence): or somesuch? Graham