input: 
  def scrape_links(url: str) -> List[str]:
      """Given a URL, the function returns a list of all the links found on the webpage.
      The function uses the BeautifulSoup library to parse the webpage and extract links.
      >>> scrape_links("http://www.example.com/")
      ["http://www.example.com/page1", "http://www.example.com/page2"]
      >>> scrape_links("http://www.anotherwebsite.com/")
      ["http://www.anotherwebsite.com/section1", "http://www.anotherwebsite.com/section2"]
      """
  
output:     import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
      links = [a['href'] for a in soup.find_all('a', href=True)]
      return links