阅读背景:

python 字符串中特定字符替换,截取

来源:互联网 
#替换
t='2018-08-07' t1=t.replace('-','') print(t1) #输出为20180807) pri



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

分享到: