input: Write a function to implement a web scraper in Python that extracts the top ten trending YouTube videos. The function should make an HTTP request to the YouTube trending page, parse the content, and extract the titles of the top ten videos.
  assert web_scrape_youtube()=['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 web_scrape_youtube() !=[]
  assert web_scrape_youtube() is not None
  assert len(web_scrape_youtube()) == 10
  assert isinstance(web_scrape_youtube(), list)
output: def web_scrape_youtube():
      import requests
      from bs4 import BeautifulSoup
      url = "https://www.youtube.com/feed/trending"
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
      titles = [title.text for title in soup.find_all('a', {'id': 'video-title'})[:10]]
      return titles