input: Write a function to scrape a given website and collect all the links from it. The function should take a URL as input and return a list of all the links found on that webpage.
  assert scrape_links("http://www.example.com/")==['http://www.iana.org/domains/example']
  assert scrape_links("http://www.example.com/test")==['http://www.iana.org/domains/example', '/about', '/contact']
  assert scrape_links("http://www.example.com/empty")==[]
output: import requests
  from bs4 import BeautifulSoup
  
  def scrape_links(url):
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
      links = [a['href'] for a in soup.find_all('a', href=True)]
      return links