Skip to content

Commit d805661

Browse files
yohmdrvinceknight
authored andcommitted
Update axelrod/strategies/grudger.py
Co-authored-by: Vince Knight <[email protected]>
1 parent fa35972 commit d805661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

axelrod/strategies/grudger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ class Capri(Player):
374374

375375
def strategy(self, opponent: Player) -> Action:
376376
# initial history profile is full cooperation
377-
hist = [[C,C],[C,C],[C,C]]
377+
hist = [[C, C], [C, C], [C, C]]
378378
for i in range(min(len(self.history), 3)):
379379
hist[-i-1][0] = self.history[-i-1]
380380
hist[-i-1][1] = opponent.history[-i-1]

0 commit comments

Comments
 (0)