input: Write a function to create a web scraper that collects the title and content from the homepage of a given website. The function should take the URL of the website as input and return a tuple containing the title and the content as strings.
  assert scrape_page('https://www.example.com')==('Example Domain', 'This domain is for use in illustrative examples in documents.')
  assert scrape_page('https://www.another-example.com')==('Another Example', 'This is another example website.')
  assert scrape_page('https://www.no-content.com')==('No Content', None)
  assert scrape_page('https://www.empty-site.com')==('Empty Site', '')
  assert scrape_page('https://www.error-site.com')==('Error', 'Page not found.')
output: import requests
  from bs4 import BeautifulSoup
  
  def scrape_page(url):
      try:
          response = requests.get(url)
          response.raise_for_status()
          soup = BeautifulSoup(response.text, 'html.parser')
          title = soup.title.string if soup.title else 'No Title'
          content = soup.get_text().strip() if soup.get_text() else None
          return (title, content)
      except Exception as e:
          return ('Error', 'Page not found.')