input: Write a function to create a web scraper using Python that retrieves the 10 most recent articles from a news website and prints their text. The function should use the `requests` and `BeautifulSoup` libraries to retrieve and parse the HTML content of the website.
  import requests 
  from bs4 import BeautifulSoup 
  
  def get_recent_news(url: str) -> None:
      # 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)
  
  assert get_recent_news('http://example.com/news')==None
  assert get_recent_news('http://anothernews.com/latest')==None
output: def get_recent_news(url: str) -> None:
      html_content = requests.get(url).text
      soup = BeautifulSoup(html_content, "lxml")
      articles = soup.find_all('article')
      for article in articles[:10]:
          print(article.text)