#Installing a missing library
! pip install nashpy
#Import libraries
import matplotlib.pyplot as plt
import numpy as np
import nashpy as nash
A = [[2, 6], [0, 4]]
B = [[2, 0], [6, 4]]
pris_dilemma = nash.Game(A, B)
pris_dilemma
A = [[3, 6], [0, 3]]
B = [[3, 0], [6, 3]]
pris_dilemma = nash.Game(A, B)
pris_dilemma