摘要:
names="hello word" len() title() formate 格式化 split join find() replace() startswith() endswith() upper() lower() strip() lstrip() rstrip() index() isd 阅读全文
摘要:
1定义 names=[] names=[1,2,1,1,1,] names=[1.'10'.[1,1]] 2添加元素 names.append() names.insert(0,10) names.extend([0,1]) 不能names.extend(1) 3删除元素 names.remove( 阅读全文