摘要: 1. 字符串内置方法 1.1 大小写转换 res = 'jasOn123 JAsOn' 1.全转大写upper() print(res.upper()) # JASON123 JASON 2.全转小写lower() print(res.lower()) # jason123 jason 3.eg: 阅读全文
posted @ 2021-11-08 18:10 klcc-cc 阅读(48) 评论(0) 推荐(0)