First time here? Check out the FAQ!
answered 2013-09-10 08:33:02 +0100
You can do:
sage: print sage.misc.displayhook.format_obj(MM) [ [1 0 0] [1 0 0] [1 0 0] [0 1 0] [0 1 0] [0 1 0] [0 0 1], [0 0 1], [0 0 1] ]
You can also have a look at this question.