input: Write a function that takes a URL as input and opens that URL in a web browser. The function should return True if the URL successfully opens, otherwise return False. Use the webbrowser module to open the URL.
  def open_webpage(url):
      try:
          webbrowser.open(url)
          return True
      except Exception as e:
          return False
  
  assert open_webpage("www.example.com")==True
  assert open_webpage("http://www.invalidurl.com")==False
  assert open_webpage("")==False
  assert open_webpage("www.google.com")==True
output: def open_webpage(url):
      try:
          webbrowser.open(url)
          return True
      except Exception as e:
          return False