input: Write a function that connects to a given domain and fetches the contents of its homepage. If the connection is successful and the page is fetched successfully, print the content of the page. If there is an error in fetching the page, print "Error fetching the page". The function should take a URL as an argument.
  
  assert fetch_homepage("https://www.example.com/")=="Error fetching the page"
  assert fetch_homepage("https://www.invalidurl.com/")=="Error fetching the page"
  assert fetch_homepage("https://www.google.com/")==None
  assert fetch_homepage("https://www.github.com/")==None
output: import requests
  
  def fetch_homepage(url):
      try:
          response = requests.get(url)
          response.raise_for_status()
          print(response.text)
      except requests.exceptions.RequestException:
          print("Error fetching the page")