def sum_numbers(number_list):
    """Example function. Sums a list of numbers using a for loop.

    Parameters
    ----------
    number_list : list
        List of ints or floats

    Returns
    -------
    int or float
        Sum of list

    Example
    -------
    >>> 1
    1
    """

    sum_val = 0
    for n in number_list:
        sum_val += n

    return sum_val