input: 
  import requests as req 
  from bs4 import BeautifulSoup 
  
  def scrape_links(url: str):
      """
      Scrape all the links from a given website URL and print them.
  
      >>> scrape_links("http://www.example.com/")
      http://www.example.com
      # Additional links from the webpage would be printed here
      """
  
      # GET request 
      r = req.get(url) 
      
      # parse the downloaded homepage and grab all text
      soup = BeautifulSoup(r.text, "html.parser") 
      
      # find and print all links 
      links = soup.find_all('a') 
      for link in links: 
          print(link.get('href'))
  
output:     # GET request 
      r = req.get(url) 
      
      # parse the downloaded homepage and grab all text
      soup = BeautifulSoup(r.text, "html.parser") 
      
      # find and print all links 
      links = soup.find_all('a') 
      for link in links: 
          href = link.get('href')
          if href:
              print(href)