Slicing [N::-1]

Joan Miller peloko45 at gmail.com
Fri Mar 5 19:01:40 CET 2010


What does a slice as [N::-1] ?

It looks that in the first it reverses the slice and then it shows
only N items, right?

Could you add an example to get the same result without use `::` to
see it more clear?

Thanks in advance



More information about the Python-list mailing list