word=['a','b','c','d','e','f','g']
合并:e=word[:2]+word[1:]
长度:l=len(word)
增加元素:word.append("h")
删除元素:del word[0]
word=['a','b','c','d','e','f','g']
合并:e=word[:2]+word[1:]
长度:l=len(word)
增加元素:word.append("h")
删除元素:del word[0]
转载于:https://www.cnblogs.com/ryuham/p/4326768.html