摘要: 基础 1. 获取字符串长度: 2. 子串str1在字符串str中出现的次数: 3. 字串str1在字符串str中第一次出现的索引: 判断类型 判断字符串中字符的类型 查找和替换 python str = 'Hello World' print(str.lower()) 'hello world' 将 阅读全文
posted @ 2020-04-07 21:38 ericness 阅读(608) 评论(0) 推荐(0) 编辑