Question · Python course · Module 4: Data, APIs and Databases

find_all()

The method soup.find_all('a') returns:

Answer options

  • The first <a> element
  • A list of all <a> elements
  • The text from the <a> element
  • The href attribute

You can check the correct answer by solving this task in the CodeWorlds game.