Paul Rubin <http://[EMAIL PROTECTED]> 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 -- http://mail.python.org/mailman/listinfo/python-list