input: Write a function to create a web scraper using Python that retrieves the 10 most recent articles from a given news website URL. The function should print the text content of the first 10 articles found on the page. If no articles are found, it should print a message indicating that no articles were found.
  
  def scrape_recent_articles(url):
      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') 
      
      # if articles are found, print the first 10, else print a message
      if articles:
          for article in articles[:10]: 
              print(article.text)
      else:
          print("No articles found.")
  
  assert scrape_recent_articles('http://example.com/news')==None
  assert scrape_recent_articles('http://nonexistentwebsite.com')==None
output: def scrape_recent_articles(url):
      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') 
      
      # if articles are found, print the first 10, else print a message
      if articles:
          for article in articles[:10]: 
              print(article.text)
      else:
          print("No articles found.")