{{{A=var('A') print A print A=matrix(QQ,([1,0],[0,1])) print A * A print A.rank() print A.nullity()

}}}

[0,1] [1,0] 2 0: