input: Write a function that creates a web scraper in Python to retrieve the 10 most recent articles from a given news website URL. Use the `requests` and `BeautifulSoup` libraries for this task. Return the text content of the first 10 articles as a list.
  
  
  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 content of the first 10 articles 
      return [article.text for article in articles[:10]]
  
  assert scrape_recent_articles('http://example.com/news') == [...expected text content...]
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 content of the first 10 articles 
      return [article.text for article in articles[:10]]