input: Write a python function to send a GET request to a given URL and print 'Success!' and the response text if the status code is 200, else print 'An error occurred.'
  assert get_request('https://httpbin.org/get') == 'Success!'
  assert get_request('https://httpbin.org/status/404') == 'An error occurred.'
output: def get_request(url):
      import requests
      response = requests.get(url)
      if response.status_code == 200:
          print('Success!')
          print(response.text)
          return 'Success!'
      else:
          print('An error occurred.')
          return 'An error occurred.'