input: Write a function to create a web scraper using Python that retrieves the 10 most recent articles from a given news website URL. The function should return a list of the text content of these articles.
  
  def web_scraper(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 web_scraper('http://example.com/news') == ['Article 1 text', 'Article 2 text', 'Article 3 text', 'Article 4 text', 'Article 5 text', 'Article 6 text', 'Article 7 text', 'Article 8 text', 'Article 9 text', 'Article 10 text']
  assert web_scraper('http://another-example.com/news') == ['Another Article 1 text', 'Another Article 2 text', 'Another Article 3 text', 'Another Article 4 text', 'Another Article 5 text', 'Another Article 6 text', 'Another Article 7 text', 'Another Article 8 text', 'Another Article 9 text', 'Another Article 10 text']
  assert web_scraper('http://yet-another-example.com/news') == ['Yet Another Article 1 text', 'Yet Another Article 2 text', 'Yet Another Article 3 text', 'Yet Another Article 4 text', 'Yet Another Article 5 text', 'Yet Another Article 6 text', 'Yet Another Article 7 text', 'Yet Another Article 8 text', 'Yet Another Article 9 text', 'Yet Another Article 10 text']
  assert web_scraper('http://empty-example.com/news') == []
output: def web_scraper(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]]