Oh,I have just thinked that the max index equals the length of the list,
but python supports more index.
2013/8/21 eryksun
> On Tue, Aug 20, 2013 at 3:31 PM, Walter Prins wrote:
> > On 20 August 2013 10:20, sikonai sikonai wrote:
> >>
> >> >>> list=[1,2,3,4,5,6,7,8,9]
> >> >>> list[9:0:-2]
>
?
2013/8/20 sikonai sikonai
> >>> list=[1,2,3,4,5,6,7,8,9]
> >>> list[9:0:-2]
> [9, 7, 5, 3]
> >>> list[10:0:-2]
> [9, 7, 5, 3]
>
> I want to know whether they have some difference.
>
___
Tutor maillist - Tutor@python.org
To unsubscribe or change su
where is the docs
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor