input: Write a function to create a web scraper using Python that retrieves the 10 most recent articles from a news website. Use the `requests` and `BeautifulSoup` libraries to fetch and parse the web content. The function should print the text of the first 10 articles from the given URL. If no articles are found, it should print an appropriate message.
  
  def scrape_recent_articles():
      import requests 
      from bs4 import BeautifulSoup 
      
      URL = 'http://example.com/news'
      html_content = requests.get(URL).text 
      soup = BeautifulSoup(html_content, "lxml") 
      articles = soup.find_all('article') 
      
      if len(articles) == 0:
          print("No articles found.")
      else:
          for article in articles[:10]: 
              print(article.text)
  
  assert (scrape_recent_articles.__name__=="scrape_recent_articles")==True
output: def scrape_recent_articles():
      import requests 
      from bs4 import BeautifulSoup 
      
      URL = 'http://example.com/news'
      html_content = requests.get(URL).text 
      soup = BeautifulSoup(html_content, "lxml") 
      articles = soup.find_all('article') 
      
      if len(articles) == 0:
          print("No articles found.")
      else:
          for article in articles[:10]: 
              print(article.text)