input: Write a python function to scrape all hyperlinks from a website and return them as a list.
  assert scrape_website('http://example.com') == ['http://example.com/page1', 'http://example.com/page2']
  assert scrape_website('http://testsite.com') == ['http://testsite.com/about', 'http://testsite.com/contact']
output: def scrape_website(url):
      import requests
      from bs4 import BeautifulSoup
  
      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://') or href.startswith('https://'):
              links.append(href)
          else:
              links.append(url + href)
      
      return links