input: from typing import List
  
  def retrieve_recent_articles(URL: str) -> List[str]:
      """
      Create a web scraper using Python that retrieves the 10 most recent articles from a news website.
  
      >>> retrieve_recent_articles('http://example.com/news')
      ['First article content', 'Second article content', 'Third article content', 'Fourth article content', 'Fifth article content', 'Sixth article content', 'Seventh article content', 'Eighth article content', 'Ninth article content', 'Tenth article content']
      """
      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 first 10 articles 
      return [article.text for article in articles[:10]]
output:     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 first 10 articles 
      return [article.text for article in articles[:10]]