input: from typing import List
  
  def get_recent_articles(URL: str) -> List[str]:
      """Create a web scraper using Python that retrieves the 10 most recent articles from a news website.
      >>> get_recent_articles('http://example.com/news')
      ['Article text 1', 'Article text 2', 'Article text 3', 'Article text 4', 'Article text 5', 'Article text 6', 'Article text 7', 'Article text 8', 'Article text 9', 'Article text 10']
      """
      import requests
      from bs4 import BeautifulSoup
  
      html_content = requests.get(URL).text
      soup = BeautifulSoup(html_content, "lxml")
      articles = soup.find_all('article')
      return [article.text for article in articles[:10]]
output:     import requests
      from bs4 import BeautifulSoup
  
      html_content = requests.get(URL).text
      soup = BeautifulSoup(html_content, "lxml")
      articles = soup.find_all('article')
      return [article.text for article in articles[:10]]