結果 : how to print a matrix in python using for loop