摘要: ####最重要的6个魔法 join拼接 split分割 find查找 strip去空格 upper变大写 lower变小写 ###(一)拼接字符串 test = '用指定字符拼接字符串元素\n' v1 = ' '.join(test) v2 = '_'.join(['拼接','字符串']) prin 阅读全文
posted @ 2019-08-14 17:55 无聊就看书 阅读(318) 评论(0) 推荐(0) 编辑