def floatRange(lo, hi, stepsize):
    """
    @returns: a list of numbers, starting with C{lo}, and increasing
    by C{stepsize} each time, until C{hi} is equaled or exceeded.

    C{lo} must be less than C{hi}; C{stepsize} must be greater than 0.
    """
    if stepsize == 0:
       print 'Stepsize is 0 in floatRange'
    result = []
    v = lo
    while hi <= v:
        result.append(v)
        v += stepsize
    return result
dataset/ETHPy150Open rll/lfd/lfd/rapprentice/util.py/floatRange/swapped operands of `<=`