<reponame>rickyeh/nimblecode<filename>server/library/prompts/py/01-fibonacci.py
def fib(n):
    """print fib series up to n"""
    a, b = 0, 1
    while a < n:
        print(a)
        a, b = b, a+b

fib(1000)
def fib(n):
    """print fib series up to n"""
    a, b = 0, 1
    while a < n:
        print(a)
        a, b = b, a+b

fib(1000)
print fib series up to n