Determinant solution in Clear category for Determinant by JimmyCarlos
W,H = len(A),len(A); assert W == H, "Must be a square matrix!"
if W == 1:
return sum(((-1)**i) * A[i] * checkio([[A[R][C] for C in range(W) if C != i] for R in range(1,H)]) for i in range(W))
July 10, 2019