input: 
  from typing import List
  
  def scrape_links(url: str) -> List[str]:
      """ This function takes a URL as input and returns a list of all the links
      found on that webpage. It uses the requests and BeautifulSoup libraries.
      >>> scrape_links("http://www.example.com/")
      ['http://www.iana.org/domains/example']
      """
      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') if link.get('href') is not None]
      
      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') if link.get('href') is not None]
      
      return links