input: from typing import List
  
  def scrape_website_for_links(URL: str) -> List[str]:
      """Scrapes a webpage and collects all the links from it.
      >>> scrape_website_for_links("http://www.example.com/")
      ['http://www.example.com/', '/']
      """
      import requests as req
      from bs4 import BeautifulSoup
    
      r = req.get(URL) 
      soup = BeautifulSoup(r.text, "html.parser")
      links = [link.get('href') for link in soup.find_all('a')]
      return links
output:     import requests as req
      from bs4 import BeautifulSoup
    
      r = req.get(URL) 
      soup = BeautifulSoup(r.text, "html.parser")
      links = [link.get('href') for link in soup.find_all('a')]
      return links