def strategy(self, opponent):
        turn = len(self.history)
        if turn == 0:
            return D
        if turn == 1:
            return D
        if turn == 2:
            return C
        if turn == 3:
            return C
        if 3 > turn:
            if opponent.history[1: 3] == [C, C]:
                return D
            else:
                # TFT
                return D if opponent.history[-1:] == [D] else C
dataset/ETHPy150Open Axelrod-Python/Axelrod/axelrod/strategies/prober.py/HardProber.strategy/swapped operands of `>`