擅长:python、mysql、java
<p>来自<code>string.replace()</code>(<a href="https://docs.python.org/2/library/string.html#string.replace" rel="nofollow noreferrer">https://docs.python.org/2/library/string.html#string.replace</a>)的文档:</p>
<blockquote>
<p>Return a copy of string s with all occurrences of substring old
replaced by new...</p>
</blockquote>
<p>您需要将此副本存储在某个地方,这就是第二个示例起作用的原因。你知道吗</p>