<p>我有一个名为url.txt的文件。有几个网址在里面。我想打印它的网址。前任。www.google.com. 当我打印它时,它打印为www.google.com.but 我想打印www.google.com 加上类似“的引号”www.google.com“。这是我的密码:</p>
<pre><code>file = open("url.txt","r")
for line in file:
myUrl = line
print(myUrl)
</code></pre>
<p>打印为www.google.com! </p>