input: from typing import Tuple, Optional
  
  
  def scrape_website_homepage(url: str) -> Tuple[Optional[str], Optional[str]]:
      """Collects the title and content from the homepage of a given website.
      Returns a tuple where the first element is the title of the webpage
      and the second element is the content of the webpage. If the title
      or content cannot be found, the respective tuple element will be None.
      
      >>> scrape_website_homepage('https://www.example.com')
      ('Example Domain', 'This domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.')
      """
      import requests
      import bs4
  
      r = requests.get(url)
      html = bs4.BeautifulSoup(r.text, "html.parser")
  
      title = html.find('title')
      title_text = title.text if title else None
  
      content = html.find('div', {'class': 'content'})
      content_text = content.text if content else None
  
      return title_text, content_text
output:     import requests
      import bs4
  
      r = requests.get(url)
      html = bs4.BeautifulSoup(r.text, "html.parser")
  
      title = html.find('title')
      title_text = title.text if title else None
  
      content = html.find('div', {'class': 'content'})
      content_text = content.text if content else None
  
      return title_text, content_text