def matrix_transpose(x):

    out = [[x[j][i] for j in range(len(x))] for i in range(len(x[0]))]

    return out 
def matrix_transpose(x):

    out = [[x[j][i] for j in range(len(x))] for i in range(len(x[0]))]

    return out 