input: Write a function to build a web scraper in Python that collects all the links from a given website URL and print them out. The function should take a URL as input and should use the `requests` and `BeautifulSoup` libraries to perform the web scraping.
  
  import requests as req 
  from bs4 import BeautifulSoup 
  
  def scrape_links_from_url(URL):
      # 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'))
  
  assert scrape_links_from_url("http://www.example.com/") is None
  assert scrape_links_from_url("http://www.anothersite.com/") is None
output: def scrape_links_from_url(URL):
      r = req.get(URL)
      soup = BeautifulSoup(r.text, "html.parser")
      links = soup.find_all('a')
      for link in links:
          print(link.get('href'))