[Tutor] skip/slice more than every second?

questions anon questions.anon at gmail.com
Tue Sep 29 05:16:36 CEST 2015


a = [1,2,3,4,5,6,7,8,9,10,11,12,13,14]

how can I show the first then skip three and show the next and so on?
For example:
show 1
then skip 2,3,4
then show 5
then skip 6,7,8
then show 9
then skip 10,11,12,

etc.

Any feedback will be greatly appreciated.


More information about the Tutor mailing list