On Fri, 21 Sep 2007, Stephen McInerney apparently wrote: > The pure Pythonic solution is a list comprehension involving multiple sequences: > x = range(0,n) > y = x > z = x > t = [(xx,yy,zz) for xx in x for yy in y for zz in z] Different question ... Cheers, Alan Isaac