結果 : how to define matrix in python