Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132928 views
License: OTHER
1
class suspiciousTitForTat():
2
def step(self, history, round):
3
if round == 0:
4
action = 0
5
else:
6
# action = history[self.history^1][round-1]
7
action = history[self.order^1][round-1]
8
return action
9