input: 
  import requests
  import bs4
  
  def web_scraper(url: str) -> str:
      """ Create a web scraper using Python that collects the title and content from the homepage of a given website.
      >>> web_scraper('https://www.example.com')
      'Example Domain\\nThis domain is for use in illustrative examples in documents. You may use this\\n    domain in literature without prior coordination or asking for permission.\\nMore information...\\n\nExample Domain'
      """
      r = requests.get(url)
      html = bs4.BeautifulSoup(r.text, "html.parser")
      
      # Find title
      title = html.find('title')
      title_text = title.text if title else ""
      
      # Find content
      content = html.find('div', {'class': 'content'})
      content_text = content.text if content else ""
      
      return f"{title_text}\n{content_text}"
  
output:     r = requests.get(url)
      html = bs4.BeautifulSoup(r.text, "html.parser")
      
      # Find title
      title = html.find('title')
      title_text = title.text if title else ""
      
      # Find content
      content = html.find('div', {'class': 'content'})
      content_text = content.text if content else ""
      
      return f"{title_text}\n{content_text}"