配合join 实现,replace 重写: astr = "hello world ,hhhh world heihei" def myreplace (astr,oldstr,newstr): result=astr.split(oldstr) return ...
確定! 回上一頁