結果 : how to print diagonal elements of a matrix in python using numpy