Skip to content

Commit f7654bc

Browse files
committed
Use random_choice()
1 parent a50750f commit f7654bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

axelrod/strategies/selfsteem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def strategy(self, opponent: Player) -> Action:
4545
return opponent.history[-1]
4646

4747
elif sine_value < 0.3 and sine_value > -0.3:
48-
return random.choice((C, D))
48+
return random_choice()
4949

5050
else:
5151
return C

0 commit comments

Comments
 (0)