input: Write a python function to scrape articles from a website using BeautifulSoup.
  assert len(scrape_articles('https://example.com/news')) > 0
  assert isinstance(scrape_articles('https://example.com/news')[0], BeautifulSoup)
output: def scrape_articles(url):
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
      articles = soup.find_all('article')
      
      return articles