If numbers=[1,2,3,4,5,6,7,8,9,10] and since "...any time the leftmost index in a slice comes later in the seqence than the second one... the result is always an empty sequence", why the slice numbers[10:0:-2] produces the sequence [10,8,6,4,2] but not the sequence []? _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
- [Tutor] On slicing george fragos
- Re: [Tutor] On slicing Rich Lovely
- Re: [Tutor] On slicing george fragos