Exclude every nth element from list?
beliavsky at aol.com
beliavsky at aol.com
Sat Mar 26 12:49:35 EDT 2016
More information about the Python-list mailing list
Sat Mar 26 12:49:35 EDT 2016
- Previous message (by thread): Urgent Question Please
- Next message (by thread): Exclude every nth element from list?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
- Previous message (by thread): Urgent Question Please
- Next message (by thread): Exclude every nth element from list?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list