from scipy import linalg
import numpy as np
A = np.array([[3,6],[2,7]])
# 计算矩阵A的行列式
x = linalg.det(A)
print(x)