input: Write a function that scrapes the 10 most recent articles from a specified news website using Python and returns their text content.
  
  
  import requests
  from bs4 import BeautifulSoup
  
  def scrape_recent_articles(url):
      # 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 text of the first 10 articles
      return [article.text for article in articles[:10]]
  
  
  assert scrape_recent_articles('http://example.com/news')==['Article1 text', 'Article2 text', 'Article3 text', 'Article4 text', 'Article5 text', 'Article6 text', 'Article7 text', 'Article8 text', 'Article9 text', 'Article10 text']
output: import requests
  from bs4 import BeautifulSoup
  
  def scrape_recent_articles(url):
      html_content = requests.get(url).text
      soup = BeautifulSoup(html_content, "lxml")
      articles = soup.find_all('article')
      return [article.text for article in articles[:10]]