<p>我是Python初学者,尝试使用replace函数,遇到了以下问题:</p>
<pre><code>quote="Inquiring the application issues"
t=quote.title()
print(t) #prints "Inquiring the Application Issues"
t=t.replace("the","a") #try to replace "the" to "a" in the title-formatted quote
print(t) #still prints "Inquiring the Application Issues", "the" didn't get replaced
</code></pre>
<p>有人能指出我的问题吗?非常感谢!你知道吗</p>