input: Write a function to scrape a webpage and collect all the links from it. The function should take a URL as input, send a GET request to retrieve the webpage content, parse the content using BeautifulSoup, and print all the href attributes of the anchor tags found on the webpage. The function should return None.
  def web_scraper(url):
      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 print all links 
      links = soup.find_all('a') 
      for link in links: 
          print(link.get('href'))
      return None
  
  assert web_scraper("http://www.example.com/")==None
  assert web_scraper("http://www.example.com/about")==None
  assert web_scraper("http://www.example.com/contact")==None
output: def web_scraper(url):
      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 print all links 
      links = soup.find_all('a') 
      for link in links: 
          print(link.get('href'))
      return None