python 中的list 定位下标可以用负数

以0开始,有负下标的使用

0第一个元素,-1最后一个元素,


-len第一个元 素,len-1最后一个元素

posted @ 2015-12-19 18:07  terryc  阅读(6432)  评论(0)    收藏  举报