input: Write a function to create a web scraper using Python that collects the title and content from the homepage of a given website. The function takes a URL as input and returns the title and content as a tuple.
  assert web_scraper("https://www.example.com")==("Example Title", "Example Content")
  assert web_scraper("https://www.anothersite.com")==("Another Title", "Another Content")
  assert web_scraper("https://www.nonexistent.com")==("", "")
output: import requests
  from bs4 import BeautifulSoup
  
  def web_scraper(url):
      try:
          response = requests.get(url)
          response.raise_for_status()
          soup = BeautifulSoup(response.text, 'html.parser')
          title = soup.title.string if soup.title else ""
          content = soup.get_text().strip() if soup.get_text() else ""
          return (title, content)
      except:
          return ("", "")