def sum_attributes(triplet):
    """
    return the sum of the attributes of a triplet
    ie: triplet = (((2, 2, 2, 2), (3, 3, 3, 3), (1, 2, 3, 1)))
    returns [6, 7, 8, 6] <- [2+3+1, 2+3+2, 2+3+3, 2+3+1]
    """
    return [sum(a) for a in zip(*triplet)]