input: Write a function to create a web scraper using Python that retrieves the 10 most recent articles from a news website.
  
  def scrape_recent_articles(url):
      import requests
      from bs4 import BeautifulSoup
      
      # get the source code 
      html_content = requests.get(url).text
      
      # parse the html content 
      soup = BeautifulSoup(html_content, "lxml")
      
      # get all the articles  
      articles = soup.find_all('article')
      
      # return the text of the first 10 articles 
      return [article.text for article in articles[:10]]
  
  assert scrape_recent_articles('http://example.com/news') == ["Article 1 content", "Article 2 content", "Article 3 content", "Article 4 content", "Article 5 content", "Article 6 content", "Article 7 content", "Article 8 content", "Article 9 content", "Article 10 content"]
  assert scrape_recent_articles('http://example.com/fake') == []
output: def scrape_recent_articles(url):
      import requests
      from bs4 import BeautifulSoup
      
      # get the source code 
      html_content = requests.get(url).text
      
      # parse the html content 
      soup = BeautifulSoup(html_content, "lxml")
      
      # get all the articles  
      articles = soup.find_all('article')
      
      # return the text of the first 10 articles 
      return [article.text for article in articles[:10]]