Exclude every nth element from list?

beliavsky at aol.com beliavsky at aol.com
Sat Mar 26 12:49:35 EDT 2016


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? 



More information about the Python-list mailing list