input: Write a python function to call a web service and return the status code.
  assert call_web_service('http://example.com/api/v1') == 200
  assert call_web_service('http://example.com/invalid') == 404
output: import requests
  
  def call_web_service(url):
      response = requests.get(url)
      return response.status_code