def list_iterator(list_argument):
    """
    Iterate over a number of list elements.

    Parameters
    ----------
    list_argument : list
        A list with elements.

    Returns
    -------
    range
        A range which iterates as many times as the number of elements.
    """
    return range(len(list_argument))