def increase_last(self, k):
        """
        Increase the last result by k.
        """
        idx = self._last_idx
        if idx is not None:
            self.results[idx] += k
def increase_last ( self , k ) : idx = self . _last_idx if idx is not None : self . results [ idx ] += k
Increase the last result by k.