input: from typing import List
  
  
  def scrape_links(url: str) -> List[str]:
      """
      Scrape all the links from a given website URL and return them as a list.
      
      >>> scrape_links("http://www.example.com/")
      ['http://www.example.com/', 'http://www.example.com/about', 'http://www.example.com/contact']
      """
      import requests as req
      from bs4 import BeautifulSoup
  
      # GET request
      r = req.get(url)
  
      # parse the downloaded homepage and grab all text
      soup = BeautifulSoup(r.text, "html.parser")
  
      # find and return all links
      links = [link.get('href') for link in soup.find_all('a')]
      return links
output:     import requests as req
      from bs4 import BeautifulSoup
  
      # GET request
      r = req.get(url)
  
      # parse the downloaded homepage and grab all text
      soup = BeautifulSoup(r.text, "html.parser")
  
      # find and return all links
      links = [link.get('href') for link in soup.find_all('a')]
      return links