def get_total_weight(eqns):
    """Gets the total weight of the equations

    This functions sums the total weight of the equations. Then the normalized
    weight for each of the equations would be their given weight over the
    return value of this function.

    :param eqns: An iterable of the equations.
    :returns: The total weight of the equations.
    :rtype: float
    """

    return sum(
        eqn.weight for eqn in eqns
        )