input: 
  def get_recent_articles(url: str) -> None:
      """Creates a web scraper that retrieves the 10 most recent articles from a given news website URL.
      >>> get_recent_articles('http://example.com/news')
      (Prints the text of the first 10 articles found)
      """
      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')
  
      # print the first 10 articles
      for article in articles[:10]:
          print(article.text)
  
output:     if len(articles) == 0:
          print("No articles found.")
      elif len(articles) < 10:
          print("Only {} articles found:".format(len(articles)))
          for article in articles:
              print(article.text)
      else:
          print("The first 10 articles are:")
          for article in articles[:10]:
              print(article.text)