code: def avg_resp_time(self):
          
          if not self._runtimes:
              return 0
          return round(sum(self._runtimes) / len(self._runtimes), 2)
docs: The average connection/response time.
  
          :rtype: float