def arange(start, stop, step):
    """returns enumeration of values in the range [start,stop) separated by step.
    like the built-in range(start,stop,step) but allows for integers and floats.
    Note that rounding errors are expected with real numbers.
    """
    while start < stop:
        yield start
        start += step
