input: Write a function to scrape the content of a given website using the requests and BeautifulSoup libraries. The function should take a URL as an input and return the scraped content. If the URL is invalid or the request fails, the function should return None.
  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 None
  
  assert scrape_website('https://www.example.com') is not None
  assert scrape_website('https://www.invalidurl.com') is None
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 None