摘要: def rreplace(string,str,new_str,max=1): string=string[::-1] str=str[::-1] new_str=new_str[::-1] return string.replace(str,new_str,max)[::-1] 阅读全文
posted @ 2020-07-31 11:37 得淼 阅读(242) 评论(0) 推荐(0)