input: Write a function to fetch the contents of a domain's homepage using a given URL. If the response status code is 200, print the content of the homepage; otherwise, print "Error fetching the page". The URL should be provided as an input parameter to the function.
  
  assert fetch_homepage("https://www.example.com/")=="Error fetching the page"
  assert fetch_homepage("https://www.google.com/")=="Error fetching the page"
  assert fetch_homepage("https://www.github.com/")=="Error fetching the page"
  assert fetch_homepage("https://www.wikipedia.org/")=="Error fetching the page"
  assert fetch_homepage("https://www.invalid.com/")=="Error fetching the page"
output: import requests
  
  def fetch_homepage(url):
      response = requests.get(url)
      if response.status_code == 200:
          return response.text
      else:
          return "Error fetching the page"