阅读背景:

python中常用得字符串,列表函数汇总

来源:互联网 

字符串函数:

1,replace函数,替换函数。s = s.replace(old,new),老得元素被新的元素替换。注意不能直接写s.replace(old,new)。要写s=s.replace(old,new)1,replace函数,替换函数。s = s.replace(old,new




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: