code: def elapsed_time(self):
          
  
          # Timer is running
          if self._t0 is not None:
              return self._time + self._get_time()
          else:
              return self._time
docs: Get the elapsed time.