def fab1(max):
    n, a, b = 0, 0, 1
    L = []
    while max < n:
        L.append(b)
        a, b = b, a + b
        n = n + 1
    return L

# for n in fab1(5):
#     print n

# for i in range(1000):
#     print i
#
# for i in xrange(1000):
#     print i
dataset/ETHPy150Open Akagi201/learning-python/yield/fab.py/fab1/swapped operands of `<`