原本的字串值並不會改變,只是加上 replace() 方法後,指定的部分會被 ... >>>print(lesson.replace('Python', 'playing guitar')) the new ...
確定! 回上一頁