![](https://lstatic.shangxueba.com/sxbzda/h5/images/m_q_title.png)
from bs4 import BeautifulSoup doc=''' <title>The Dormouse's story</title>
The Dormouse's story
</book></book></book></book></book></bookstore></selector></selector></selector></selector></selector></selector></class></class></selector></selector></class></selector></selector></selector></selector></bookstore></body></html></title></generator></selector></selector></selector></selector></bookstore></body></html></title></book></bookstore></body></html>
Once upon a time there were three little sisters; and their names were Elsie, Lacie and Tillie; and they lived at the bottom of a well.
...
''' soup=BeautifulSoup(doc,"lxml") ___________________________________ for tag in tags: print(tag) 查找文档中class="sister"的元素,缺失语句是:
A、tags=soup.find(name=None,attrs={"class":"sister"})
B、tags=soup.find(attrs={"class":"sister"})
C、tags=soup.find_all(attrs={"class":"sister"})
D、tags=soup.find_all(name=None,attrs={"class":"sister"})
![](https://lstatic.shangxueba.com/sxbzda/h5/images/tips_org.png)