摘要: Python小整数池 -5 - 256 字符串常用方法 upper 和 lower 大小写转换 s = 'name' s1 = s.upper() # 全部大写 s1 = s.lower() # 全部小写 startswith 和 endswith 是否已xx开头或结尾 s = 'abcdef' p 阅读全文
posted @ 2020-04-29 09:56 不一样的开始 阅读(197) 评论(0) 推荐(0) 编辑