input: 
  from typing import List, Dict
  from bs4 import BeautifulSoup
  import requests
  
  def extract_planet_data(url: str) -> List[Dict[str, str]]:
      """ Scrape the table from the given URL and extract the planets information
      (name, mass, and distance from the sun).
      >>> extract_planet_data('https://en.wikipedia.org/wiki/List_of_gravitationally_rounded_objects_of_the_Solar_System')
      [
          {'name': 'Earth', 'mass': '5.97237×10^24 kg', 'distance_from_sun': '1 AU'},
          {'name': 'Mars', 'mass': '6.4171×10^23 kg', 'distance_from_sun': '1.524 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.strip(),
              'mass': cells[2].text.strip(),
              'distance_from_sun': cells[5].text.strip()
          })
      
      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