Tim Peters wrote: ... > ... for i in range(n): ... > is one way to get the same end result without building a list in one gulp Actually, range DOES "build a list in one gulp" (but I guess you might use xrange instead:-). Alex