input: def extract_planets_info(url: str):
      """Extracts the name, mass, and distance from the sun for each planet from the table 
      found at the provided URL.
      >>> url = 'https://en.wikipedia.org/wiki/List_of_gravitationally_rounded_objects_of_the_Solar_System'
      >>> result = extract_planets_info(url)
      >>> result[0]
      {'name': 'Earth', 'mass': '5.97237×1024 kg', 'distance_from_sun': '1 AU'}
      """
      import requests
      from bs4 import BeautifulSoup
  
      page = requests.get(url)
      soup = BeautifulSoup(page.content, 'lxml')
  
      planets_table = soup.find('table', class_='wikitable sortable')
  
      planets = []
      for row in planets_table.find_all('tr'):
          if row.find('th'):
              continue
          cells = row.find_all('td')
          planets.append({
              'name': cells[0].text,
              'mass': cells[2].text,
              'distance_from_sun': cells[5].text
          })
  
      return planets
output:     import requests
      from bs4 import BeautifulSoup
  
      page = requests.get(url)
      soup = BeautifulSoup(page.content, 'lxml')
  
      planets_table = soup.find('table', class_='wikitable sortable')
  
      planets = []
      for row in planets_table.find_all('tr'):
          if row.find('th'):
              continue
          cells = row.find_all('td')
          planets.append({
              'name': cells[0].text.strip(),
              'mass': cells[2].text.strip(),
              'distance_from_sun': cells[5].text.strip()
          })
  
      return planets