input: Write a function to scrape and return the 10 most recent articles from a given news website URL. If there are less than 10 articles, return all available articles.
  
  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') 
      
      # return the first 10 articles 
      return [article.text for article in articles[:10]]
  
  assert scrape_recent_articles('http://example.com/news') == ['Article 1', 'Article 2', 'Article 3', 'Article 4', 'Article 5', 'Article 6', 'Article 7', 'Article 8', 'Article 9', 'Article 10']
  assert scrape_recent_articles('http://example.com/fewer_news') == ['Article 1', 'Article 2', 'Article 3']
  assert scrape_recent_articles('http://example.com/no_news') == []
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') 
      
      # return the first 10 articles 
      return [article.text for article in articles[:10]]