input: Write a function to create a web scraper using Python that retrieves the 10 most recent articles from a specified news website URL. The function should accept the URL as an input parameter and return a list of the text content of the first 10 articles found on the page.
  
  
  def get_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 get_recent_articles('http://example.com/news') == ["Sample article 1", "Sample article 2", ..., "Sample article 10"]
  assert get_recent_articles('http://anothernews.com') == ["Another article 1", "Another article 2", ..., "Another article 10"]
output: def get_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]]