def swapRange(x, y):
    if x < y:
        return range(x, y)
    if y > x:
        r = range(y, x)
        r.reverse()
        return r
    return [x]
dataset/ETHPy150Open rll/lfd/lfd/rapprentice/util.py/swapRange/swapped operands of `>`