First time here? Check out the FAQ!
answered 2023-06-18 16:26:47 +0100
Your code computes A and A.det(), but nowhere you ask for their output. Try, e. g. :
A
A.det()
for i in range(6): A = D(i) show(A, A.det())
Demonstration here.
HTH,