In [5]:
a3 = np.array([[2, 1], [-1, -3]])
det = np.linalg.det(a3)

print(det)
-5.000000000000001