def mean(values):
    """Computes the mean of a sequence of numeric values.

    Args:
        values: Sequence of numeric values.

    Returns:
        The mean (floating point).
    """
    if len(values) == 0:
        raise ValueError("Cannot determine the mode of an empty sequence")
    return sum(values) / len(values)