input: Write a function to create a Python script that scrapes a given website and returns the scraped data. The function should take a URL as input and use the requests and BeautifulSoup libraries for scraping. If the website cannot be reached, return an error message.
  
  def scrape_website(url):
      try:
          page = requests.get(url)
          page.raise_for_status()
          soup = BeautifulSoup(page.text, 'html.parser')
          # Scraping code goes here...
          return soup  # Return the scraped data or process it further
      except requests.exceptions.RequestException as e:
          return str(e)
  
  assert str(scrape_website('https://www.example.com')) != 'Error'
  assert str(scrape_website('https://nonexistentwebsite1234567890.com')) == 'Error'
output: def scrape_website(url):
      try:
          page = requests.get(url)
          page.raise_for_status()
          soup = BeautifulSoup(page.text, 'html.parser')
          return soup
      except requests.exceptions.RequestException as e:
          return str(e)