input: def scrape_web_content(url: str) -> dict:
      """Scrape the title and content from the homepage of a given website using Python.
      Example:
      >>> scrape_web_content('https://www.example.com')
      {'title': 'Example Domain', 'content': 'This domain is for use in illustrative examples in documents.'}
      """
output:     import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
  
      title = soup.title.string if soup.title else ''
      content = soup.get_text().strip()
  
      return {'title': title, 'content': content}