結果 : transpose of a matrix in python using loop