input: Write a python function to scrape all the hyperlinks from a given website.
  assert scrape_hyperlinks('https://www.example.com/') == ['https://www.example.com/link1', 'https://www.example.com/link2']
  assert scrape_hyperlinks('https://www.test.com/') == ['https://www.test.com/home', 'https://www.test.com/about', 'https://www.test.com/contact']
  assert scrape_hyperlinks('https://www.sample.com/') == ['https://www.sample.com/page1', 'https://www.sample.com/page2', 'https://www.sample.com/page3']
output: import requests
  from bs4 import BeautifulSoup
  
  def scrape_hyperlinks(url):
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
      links = []
      for a_tag in soup.find_all('a', href=True):
          href = a_tag['href']
          if href.startswith('http'):
              links.append(href)
          else:
              links.append(url.rstrip('/') + '/' + href.lstrip('/'))
      return links