input: Write a function to create a web scraper using Python that retrieves the 10 most recent articles from a specified news website. The function should take the URL of the news website as an input and return the text content of the 10 most recent articles.
  
  
  import requests 
  from bs4 import BeautifulSoup 
  
  def get_recent_articles(URL):
      # 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') != []
  assert len(get_recent_articles('http://example.com/news')) <= 10
  assert type(get_recent_articles('http://example.com/news')[0]) == str
  
output: import requests 
  from bs4 import BeautifulSoup 
  
  def get_recent_articles(URL):
      html_content = requests.get(URL).text 
      soup = BeautifulSoup(html_content, "lxml") 
      articles = soup.find_all('article') 
      return [article.text for article in articles[:10]]