input: Write a function called scrape_website that takes a URL as an input and returns a dictionary containing the title and content from the homepage of the given website. If the title or content is not found, the corresponding value in the dictionary should be set to an empty string.
  assert scrape_website('https://www.example.com') == {'title': 'Example Domain', 'content': 'This is some example content.'}
  assert scrape_website('https://www.notfound.com') == {'title': '', 'content': ''}
  assert scrape_website('https://www.nocontent.com') == {'title': 'No Content', 'content': ''}
  assert scrape_website('') == {'title': '', 'content': ''}
output: import requests
  from bs4 import BeautifulSoup
  
  def scrape_website(url):
      result = {'title': '', 'content': ''}
      if not url:
          return result
      try:
          response = requests.get(url)
          response.raise_for_status()
          soup = BeautifulSoup(response.text, 'html.parser')
          title_tag = soup.find('title')
          content_tag = soup.find('body')
          result['title'] = title_tag.string.strip() if title_tag else ''
          result['content'] = content_tag.get_text().strip() if content_tag else ''
      except:
          pass
      return result