@@ -0,0 +1,399 @@
+def transpose_matrix(matrix):%0A    matrix_rows_quantity = len(matrix)%0A    matrix_column_quantity = len(matrix%5B0%5D)%0A%0A    transposed_matrix = %5B%5B0%5D * matrix_rows_quantity for _ in range(matrix_column_quantity)%5D%0A%0A    for row in range(matrix_rows_quantity):%0A        for column in range(matrix_column_quantity):%0A            transposed_matrix%5Bcolumn%5D%5Brow%5D = matrix%5Brow%5D%5Bcolumn%5D%0A%0A    return transposed_matrix%0A

Create function in python to transpose matrix