結果 : how to write matrices in python