input: Write a function to open a web browser and render a specified web page. Provide the function with a URL as an input. If the URL is valid, the function should return True; otherwise, it should return False.
  assert open_web_page("www.example.com")==True
  assert open_web_page("www.invalid-url.com")==False
output: import webbrowser
  import requests
  
  def open_web_page(url):
      try:
          response = requests.get("http://" + url)
          if response.status_code == 200:
              webbrowser.open("http://" + url)
              return True
          else:
              return False
      except:
          return False