Paul Rubin <http://phr.cx@NOSPAM.invalid> wrote: ... > while the traditional > > xrange(f(n)-1, -1, -1) > > only evaluates it once but is IMO repulsive. Yep, reversed(range(f(n))) is MUCH better. Alex