A = matrix([[3, 0], [5, 4]]) # Creating the payoff matrix for player 1 B = matrix([[3, 5], [0, 4]]) # Creating the payoff matrix for player 2

g = NormalFormGame([A, B]) # Creating the game

g.obtain_nash() # Finding the Nash equilibria