input: Write a function to include a web-page rendering feature in a Python program. The function should take a URL as input and open it in the default web browser. If the URL is empty, the function should print a message indicating that the URL is required.
  assert web_page_rendering("www.example.com")
  assert not web_page_rendering("")
output: import webbrowser
  
  def web_page_rendering(url):
      if url:
          webbrowser.open(url)
          return True
      else:
          print("URL is required")
          return False