Quiz: Web Scraping with Beautiful Soup
Test your understanding of various Python libraries.
1
What is the difference between find_next()
and find_next_sibling()
?
A)
find_next()
returns a string or a tag that comes directly after the element, find_next_sibling()
returns the next tag that is on the same level of the parse tree.
B)
find_next()
and find_next_sibling()
are the same method with different names.
C)
find_next()
can returns strings or tags while find_next_sibling()
only returns tags.
D)
find_next_sibling()
returns a string or a tag that comes directly after the element, find_next()
returns the next tag that is on the same level of the parse tree.
Question 1 of 40 attempted
Get hands-on with 1400+ tech skills courses.