input: Write a python function to extract all the links from a given webpage using BeautifulSoup and requests.
  assert extract_links("https://www.example.com/") == ["https://www.example.com/link1", "https://www.example.com/link2"]
  assert extract_links("https://www.test.com/") == ["https://www.test.com/home", "https://www.test.com/about"]
  assert extract_links("https://www.sample.com/") == ["https://www.sample.com/contact", "https://www.sample.com/services"]
output: def extract_links(url):
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
      links = [a.get('href') for a in soup.find_all('a', href=True)]
      
      return links