Beginning Python From Novice to Professional (3) - 列表操作
列表操作list函数:>>>list('hello')
['h','e','l','l','o']改变列表:>>>x=[1,1,1]
>>>x[1]=2
>>>x
[1,2,1]删除元素:>>>names=['wu','li','zhao','qian']
>>>delnames[1]
>>>names
['wu','zhao','qian']分片赋值:>>>name=list('perl')
>