![](https://lstatic.shangxueba.com/jiandati/h5/images/m_q_title.png)
获取
元素的所有直接子元素节点 from bs4 import BeautifulSoup doc=''' <title>The Dormouse's story</title>
TheDormouse'sstoryOnce upon a time ...
''' soup=BeautifulSoup(doc,"lxml") ________________ for x in __________________: print(x) 缺失的语句是:
A、tag=soup.find("p"); tag.children
B、tag=soup.find("p"); tag.child
C、tag=soup.find_all("p"); tag.children
D、tag=soup.find_all("p"); tag.child