input: Write a python function to check for broken links in a webpage.
  assert check_for_broken_links('http://example.com')==None
  assert check_for_broken_links('http://thispagedoesnotexist.com')==None
  assert check_for_broken_links('http://anotherexample.com')==None
output: def check_for_broken_links(url):
      import requests
      from bs4 import BeautifulSoup
  
      try:
          response = requests.get(url)
          response.raise_for_status()
      except requests.exceptions.RequestException as e:
          print(f"Error accessing {url}: {e}")
          return None
  
      soup = BeautifulSoup(response.text, 'html.parser')
      links = soup.find_all('a', href=True)
  
      for link in links:
          link_url = link['href']
          if not link_url.startswith(('http://', 'https://')):
              continue  # Skip non-http(s) links
  
          try:
              link_response = requests.get(link_url)
              link_response.raise_for_status()
          except requests.exceptions.RequestException as e:
              print(f"Broken link found: {link_url} - {e}")
  
      return None