input: Write a function to scrape the titles of all articles from a given URL using BeautifulSoup.
  assert scrape_titles('https://example.com') == ['Title 1', 'Title 2', 'Title 3']
  assert scrape_titles('https://example.org') == ['Example Title 1', 'Example Title 2']
  assert scrape_titles('https://example.net') == ['Net Title 1', 'Net Title 2', 'Net Title 3']
output: def scrape_titles(url):
      import requests
      from bs4 import BeautifulSoup
      
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
      titles = [title.get_text() for title in soup.find_all('h1', class_='article-title')]
      
      return titles