the part of my code that has a problem is:
history = np.array([[0, 0, 1, 1],[1, 0, 0, 1]])
opponentsActions = history[1]
if opponentsActions == [0, 0, 0, 0]:
print("nice")
and the error I get is:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()