input: Write a function to extract the top ten trending YouTube videos using web scraping in Python. The function should return a list of video titles.
  
  def get_top_trending_videos():
      import requests
      from bs4 import BeautifulSoup
  
      # make a request to get the page content
      page = requests.get("https://www.youtube.com/feed/trending")
  
      # parse the page content
      soup = BeautifulSoup(page.content, 'html.parser')
  
      # extract the list of trending videos
      trending_videos = soup.find_all(class_='expanded-shelf-content-item-wrapper')
  
      # get the titles of the top ten trending videos
      video_titles = [video.find(class_='yt-uix-tile-link').get('title') for video in trending_videos[:10]]
  
      return video_titles
  
  assert get_top_trending_videos() == ['Video Title 1', 'Video Title 2', 'Video Title 3', 'Video Title 4', 'Video Title 5', 'Video Title 6', 'Video Title 7', 'Video Title 8', 'Video Title 9', 'Video Title 10']
  assert get_top_trending_videos() == ['Video Title A', 'Video Title B', 'Video Title C', 'Video Title D', 'Video Title E', 'Video Title F', 'Video Title G', 'Video Title H', 'Video Title I', 'Video Title J']
  assert get_top_trending_videos() == ['Video Title X', 'Video Title Y', 'Video Title Z', 'Video Title A', 'Video Title B', 'Video Title C', 'Video Title D', 'Video Title E', 'Video Title F', 'Video Title G']
  assert get_top_trending_videos() == ['Video Title 1', 'Video Title 2', 'Video Title 3', 'Video Title 4', 'Video Title 5', 'Video Title 6', 'Video Title 7', 'Video Title 8', 'Video Title 9', 'Video Title 10']
  assert get_top_trending_videos() == ['Video Title 1', 'Video Title 2', 'Video Title 3', 'Video Title 4', 'Video Title 5', 'Video Title 6', 'Video Title 7', 'Video Title 8', 'Video Title 9', 'Video Title 10']
output: def get_top_trending_videos():
      import requests
      from bs4 import BeautifulSoup
  
      page = requests.get("https://www.youtube.com/feed/trending")
      soup = BeautifulSoup(page.content, 'html.parser')
      trending_videos = soup.find_all(class_='expanded-shelf-content-item-wrapper')
      video_titles = [video.find(class_='yt-uix-tile-link').get('title') for video in trending_videos[:10]]
  
      return video_titles