列表 num = ["a","b","c","d","e","f"]print(num[0]) # aprint(num[0:]) # ['a', 'b', 'c', 'd', 'e', 'f'] 【start,stop,step】print(num[1:-1]) # ['b', 'c', 'd', Read More
posted @ 2016-08-24 10:00 gege4105 Views(126) Comments(0) Diggs(0)