import lxml
import requests
from bs4 import BeautifulSoup
pageNumber=1
for n in range(0,10):
url='网址='+str(pageNumber)
headers={'User-Agent':'123'}
html=requests.get(url,headers=headers)
pageNumber += 1
soup=BeautifulSoup(html.text,'lxml')
for item in soup.find_all('a',"b"):
reviews=item.text.replace('<br/>','')
reviews是str,怎么把循环里所有输出的reviews全部输出到excel?