input: def scrape_website(url: str) -> dict:
      """ Given a URL, scrapes the homepage of the website to collect the title and content of the page.
      Returns a dictionary with 'title' and 'content' as keys.
      >>> scrape_website('https://www.example.com')['title']
      'Example Domain'
      >>> scrape_website('https://www.example.com')['content']
      'This domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.'
      """
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}