摘要: >>> s='spam' >>> s=s.replace('m','111') >>> s 'spa111' >>> where=s.find('11') >>> where 3 >>> s=s[:where]+'eggs'+s[(where+2):] >>> s 'spaeggs1' >>> L= 阅读全文
posted @ 2018-03-31 10:47 我们分头打钱! 阅读(87) 评论(0) 推荐(0) 编辑