input: def crawl(url: str) -> str:
      """
      This function creates a web crawler that starts from a given URL, looks for
      links in the page, visits them, and scrapes the content of the page. The
      crawler will keep visiting new links until there are no new links left to
      visit.
  
      Example:
      >>> crawl("https://example.com")
      "https://example.com scraped and followed 10 links."
      >>> crawl("https://test.com")
      "https://test.com scraped and followed 5 links."
      """
output:     import requests
      from bs4 import BeautifulSoup
      from urllib.parse import urljoin
  
      visited_urls = set()
      to_visit = [url]
      link_count = 0
  
      while to_visit:
          current_url = to_visit.pop(0)
          if current_url in visited_urls:
              continue
  
          visited_urls.add(current_url)
          try:
              response = requests.get(current_url)
              response.raise_for_status()
          except requests.RequestException:
              continue
  
          soup = BeautifulSoup(response.text, 'html.parser')
          links = soup.find_all('a', href=True)
  
          for link in links:
              absolute_url = urljoin(current_url, link['href'])
              if absolute_url not in visited_urls:
                  to_visit.append(absolute_url)
                  link_count += 1
  
      return f"{url} scraped and followed {link_count} links."