input: Write a function to create a web scraper using Python that retrieves the 10 most recent articles from a specified news website. The function should take the URL of the news website as input and print the text of the first 10 articles found on the page. If no articles are found, it should print an appropriate message. 
  
  assert scrape_recent_articles('http://example.com/news')==None
  assert scrape_recent_articles('http://example.com/empty')=="No articles found."
output: import requests
  from bs4 import BeautifulSoup
  
  def scrape_recent_articles(url):
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
      articles = soup.find_all('article')[:10]
      if not articles:
          print("No articles found.")
      else:
          for article in articles:
              print(article.get_text())