<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def status_code(self):
 """ Get the http status code for the response """

        try:
            return self._status_code
        except AttributeError:
            self._status_code = self._response.getcode()
        return self._status_code