摘要: 1、将列表转为字符串 ''.join(list) 2、字符串替换 Res.replace(‘a’,’b’).replace(‘c’,’b’) ——将a c 替换为b 3、Sort()永久排序 sorted()暂时排序 阅读全文
posted @ 2022-10-30 12:07 paofu1995 阅读(36) 评论(0) 推荐(0)