问题遇到的现象和发生背景
用代码块功能插入代码,请勿粘贴截图
我想要达到的结果
for line in file:
new_url=line+'/plus/download.php?link=aHR0cHM6Ly93d3cuYmFpZHUuY29t&open=1'
print(new_url.rstrip())
这样打印的数据是两行
for line in file:
new_url=line+'/plus/download.php?link=aHR0cHM6Ly93d3cuYmFpZHUuY29t&open=1'
print(new_url.rstrip())
这样打印的数据是两行