摘要: 1.列表 1 names = ['Alex',"Tenglan",'Eric'] 2 3 >>> names[0] 4 'Alex' 5 >>> names[2] 6 'Eric' 7 >>> names[-1] 8 'Eric' 9 >>> names[-2] #还可以倒着取 10 'Tengla 阅读全文
posted @ 2017-01-16 21:43 willianflasky 阅读(162) 评论(0) 推荐(0) 编辑