input: def scrape_news_headlines(url: str) -> None:
      """
      Scrape an online news website to get the headlines from the given URL.
      >>> scrape_news_headlines("https://www.news.com/")
      Headline 1
      Headline 2
      ...
      """
      import requests
      from bs4 import BeautifulSoup
  
      # get the response in the form of html
      r = requests.get(url)
  
      # create a beautifulsoup object to parse contents
      soup = BeautifulSoup(r.content, 'html5lib')
  
      # find headlines from the parsed page
      headlines = soup.find_all('h2')
  
      # Print the headlines
      for headline in headlines:
          print(headline.text)
output:     import requests
      from bs4 import BeautifulSoup
  
      # get the response in the form of html
      r = requests.get(url)
  
      # create a beautifulsoup object to parse contents
      soup = BeautifulSoup(r.content, 'html5lib')
  
      # find headlines from the parsed page
      headlines = soup.find_all('h2')
  
      # Print the headlines
      for headline in headlines:
          print(headline.text)