all pairs of items in a list without indexing?

Steven Bethard steven.bethard at gmail.com
Wed Sep 29 18:15:17 CEST 2004


Alex Martelli <aleaxit <at> yahoo.com> writes:
> If you start with an L=list(L), you can also optionally L.reverse() to
> play with the ordering (if significant, issue still not clarified).

The order of the elements isn't crucial, but for debugging purposes it would 
be slightly better if they maintained order.

Steve






More information about the Python-list mailing list