def transpose_list(lst):
    """
    From list of lists (of same length) lst
    Returns transposed list lst2
    where lst[i][j] = lst2[j][i]
    """
    if isinstance(lst[0], list):
        return list(map(list, zip(*lst)))
    return lst