input: Write a function to create a web scraper in Python that retrieves the 10 most recent articles from a given news website URL. The function should return a list of strings where each string is the text content of an article.
  assert scrape_recent_articles('http://example.com/news') == ["Article 1 content", "Article 2 content", "Article 3 content", "Article 4 content", "Article 5 content", "Article 6 content", "Article 7 content", "Article 8 content", "Article 9 content", "Article 10 content"]
  assert scrape_recent_articles('http://example.com/empty') == []
  assert scrape_recent_articles('') == []
output: 
  import requests
  from bs4 import BeautifulSoup
  
  def scrape_recent_articles(url):
      if not url:
          return []
      try:
          response = requests.get(url)
          response.raise_for_status()
      except requests.RequestException:
          return []
      
      soup = BeautifulSoup(response.text, 'html.parser')
      articles = soup.find_all('article')
      recent_articles = []
      
      for article in articles[:10]:
          content = article.get_text(strip=True)
          recent_articles.append(content)
      
      return recent_articles
  