python 二维列表转置
def transpose(self, matrix):
new_matrix = []
for i in range(len(matrix[0])):
matrix1 = []
for j in range(len(matrix)):
matrix1.append(matrix[j][i])
new_matrix.append(matrix1)
return new_matrix
python 二维列表逆时针转置
def transpose(self, matrix):
new