input: from typing import List
  
  
  def recent_articles(url: str) -> List[str]:
      """ Given a URL of a news website, retrieve and return the text of the 10 most recent articles.
      Use the requests library to get the webpage content and BeautifulSoup to parse the HTML.
      The articles are assumed to be enclosed in <article> tags.
  
      >>> recent_articles('http://example.com/news')
      ['Text of the first most recent article', 'Text of the second most recent article', ..., 'Text of the tenth most recent article']
      """
      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 of 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 text of the first 10 articles 
      return [article.text for article in articles[:10]]