In Maple I'm trying to take the determinant of a matrix and nothing happens

Code:> A := matrix([[lambda+1, -2, -3], [-2, lambda+1, -2], [-2, -2, lambda+1]]); > detA := det(A); det(A) > B := matrix([[2, 1], [-4, 10]]); print(`output redirected...`); # input placeholder > det(B); det(B) > ans := det(B); det(B)