On 26.03.2016 18:06, Peter Otten wrote:
beliavsky--- via Python-list wrote:

I can use x[::n] to select every nth element of a list. Is there a
one-liner to get a list that excludes every nth element?
del x[::n]

;)

Actually quite nice.
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to