摘要: names="hello word" len() title() formate 格式化 split join find() replace() startswith() endswith() upper() lower() strip() lstrip() rstrip() index() isd 阅读全文
posted @ 2017-12-11 19:28 学无边涯 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 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( 阅读全文
posted @ 2017-12-11 19:05 学无边涯 阅读(257) 评论(0) 推荐(0) 编辑