input: from typing import List
  from bs4 import BeautifulSoup
  import requests
  
  def extract_planets_info(url: str) -> List[dict]:
      """
      Extracts planet information (name, mass, and distance from the sun) from the 
      table at the provided URL.
      
      >>> extract_planets_info('https://en.wikipedia.org/wiki/List_of_gravitationally_rounded_objects_of_the_Solar_System')
      [
          {'name': 'Mercury', 'mass': '0.055 M☉', 'distance_from_sun': '0.4 AU'},
          {'name': 'Venus', 'mass': '0.815 M☉', 'distance_from_sun': '0.7 AU'},
          {'name': 'Earth', 'mass': '1.000 M☉', 'distance_from_sun': '1.0 AU'},
          {'name': 'Mars', 'mass': '0.107 M☉', 'distance_from_sun': '1.5 AU'},
          {'name': 'Jupiter', 'mass': '317.8 M☉', 'distance_from_sun': '5.2 AU'},
          {'name': 'Saturn', 'mass': '95.2 M☉', 'distance_from_sun': '9.5 AU'},
          {'name': 'Uranus', 'mass': '14.5 M☉', 'distance_from_sun': '19.2 AU'},
          {'name': 'Neptune', 'mass': '17.1 M☉', 'distance_from_sun': '30.1 AU'}
      ]
      """
  
      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:     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