摘要:
1.创建列表 append(self, p_object) 向列表添加元素(无返回值) clear(self) 移除列表所有的元素 count(self, value) 返回value在列表中出现的次数 extend(self, iterable) 拓展列表(无返回值) index(self, va 阅读全文
摘要:
capitalize() 字符串首字母大写 center(width, fillchar=None) 将字符串放在中间;在制定长度下,首尾以指定字符填充 count(sub, start=None, end=None) 计算某字符在字符串中的数量 decode(encoding=None, erro 阅读全文