[Tutor] is the the two style of writting the same?

tan Sikonai tanjyunda at gmail.com
Tue Aug 20 13:51:34 CEST 2013


?


2013/8/20 sikonai sikonai <tanjyunda at gmail.com>

> >>> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130820/0408b8fe/attachment.html>


More information about the Tutor mailing list