input: Write a function to create a web scraper in Python that retrieves the 10 most recent articles from a given news website URL. The function should return the text of the first 10 articles found on the page.
  assert web_scraper("http://example.com/news")==[article1_text, article2_text, ..., article10_text]
  assert web_scraper("http://anothersite.com/news")==[another_article1_text, another_article2_text, ..., another_article10_text]
  assert web_scraper("http://nonexistent.com/news")==[]
  assert web_scraper("http://example.com/noarticles")==[]
output: import requests
  from bs4 import BeautifulSoup
  
  def web_scraper(url):
      response = requests.get(url)
      if response.status_code != 200:
          return []
      soup = BeautifulSoup(response.content, 'html.parser')
      articles = soup.find_all('article')[:10]
      return [article.get_text() for article in articles]