input: 
  import requests 
  from bs4 import BeautifulSoup 
  
  def scrape_articles(url: str) -> None:
      """
      Retrieves and prints the text of the 10 most recent articles from a news website.
      >>> scrape_articles('http://example.com/news')
      [First 10 articles' text]
      """
      
      # 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') 
      
      # print the first 10 articles 
      for article in articles[:10]: 
          print(article.text)
  
output:     # 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') 
      
      # print the first 10 articles 
      for article in articles[:10]: 
          print(article.text)