摘要: #1.有返回值,没有赋值,替换不成功 cxj = 'guapi' cxj.replace(cxj,'2b') print(cxj) #2.有返回值,赋值,替换成功 cxj = 'guapi' cxj = cxj.replace(cxj,'2b') print(cxj) 阅读全文
posted @ 2020-08-15 22:06 落月_YU 阅读(322) 评论(0) 推荐(0) 编辑