all pairs of items in a list without indexing?

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

Alex Martelli <aleaxit <at>> 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.


More information about the Python-list mailing list