On 29/10/2013 05:22, Steven D'Aprano wrote:
Does anyone here use slices (or range/xrange) with negative strides other
than -1?

E.g. sequence[2:15:-3]


In 10 ish years I don't recall ever considering it, let alone doing it.

--
Python is the second best programming language in the world.
But the best has yet to be invented.  Christian Tismer

Mark Lawrence

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to