input: def scrape_websites_for_links(URL: str) -> List[str]:
      """This function takes a URL as input, sends a GET request to the URL, and collects all the links present on the webpage. It then returns a list of these links.
  
      >>> scrape_websites_for_links("http://www.example.com/")
      ['http://www.iana.org/domains/example']
      """
      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 collect all links 
      links = soup.find_all('a') 
      return [link.get('href') for link in 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 collect all links 
      links = soup.find_all('a') 
      return [link.get('href') for link in links if link.get('href')]