def trans_gaul(q):
    """ transposes a tuple """
    y = []
    if len(q) > 0:
        for i in range(len(q[0])):
            elem = []
            for j in range(len(q)):
                elem.append(q[j][i])
            y.append(elem)
    return y
