def array_sum(values_array):
    """
    Computes the sum of the elements of the array.

    Parameters
    ----------
    values_array : list.
        The numbers to be added.

    Returns
    -------
    sum_ : float.
        The sum of the elements of the array.
    """
    sum_ = 0
    for item in values_array:
        sum_ += item
    return sum_