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]

;)

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

Reply via email to