input: Write a function to scrape a given website and return the scraped data. If the website is not reachable, return an error message. The input to the function should be a URL, and the output should be the scraped data as a string or an error message.
  
  def scrape_website(url):
      try:
          page = requests.get(url)
          if page.status_code == 200:
              soup = BeautifulSoup(page.text, 'html.parser')
              return str(soup)
          else:
              return f"Error: Unable to access the website. Status code: {page.status_code}"
      except Exception as e:
          return f"Error: {str(e)}"
  
  assert scrape_website('https://www.example.com')!="Error:"
  assert scrape_website('https://nonexistentwebsite12345.com')[:6]=="Error:"
output: def scrape_website(url):
      try:
          page = requests.get(url)
          if page.status_code == 200:
              soup = BeautifulSoup(page.text, 'html.parser')
              return str(soup)
          else:
              return f"Error: Unable to access the website. Status code: {page.status_code}"
      except Exception as e:
          return f"Error: {str(e)}"