input: 
  def scrape_headlines(url: str) -> None:
      """ Scrape headlines from an online news website.
      >>> scrape_headlines("https://www.news.com/")
      # Output will be the headlines from the news website
      """
  
output:     
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
      headlines = soup.find_all('h2')
      for headline in headlines:
          print(headline.text)
  