input: def fetch_top_ten_trending_videos():
      """Implement a web scraper in Python to extract the top ten trending YouTube videos.
  
      The function uses requests and BeautifulSoup to retrieve and parse the content 
      of the YouTube trending page, then extracts and prints the titles of the top 
      ten trending videos.
  
      >>> fetch_top_ten_trending_videos()
      Python Programming for Beginners
      Top 10 Songs of 2023
      The Future of Artificial Intelligence
      How to Cook a Perfect Steak
      Best Animated Movies of All Time
      The Most Epic Fail Compilation
      Understanding Blockchain Technology
      Mastering Guitar in 30 Days
      The Science of Sleep
      DIY Home Renovation Tips
      """
  
      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')
  
      # print the top ten trending videos
      for video in trending_videos[:10]:
          print(video.find(class_='yt-uix-tile-link').get('title'))
output:     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')
  
      # print the top ten trending videos
      for video in trending_videos[:10]:
          print(video.find(class_='yt-uix-tile-link').get('title'))