sequence multiplied by -1

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Sun Oct 3 11:14:34 EDT 2010


Stefan Schwarzer a écrit :

> One could argue that using L[::-1] isn't "obvious"

It *is* obvious - once you've learned slicing. "obvious" doesn't mean
you shouldn't bother reading the FineManual.



More information about the Python-list mailing list