| 1 | initial version |
Your code computes A and A.det(), but nowhere you ask for their output. Try, e. g. :
for i in range(6):
A = D(i)
show(A, A.det())
Demonstration here.
HTH,
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.