結果 : how to write 3x3 matrix in python