Demo entry 6064991

test

   

Submitted by anonymous on Sep 23, 2016 at 11:30
Language: Python. Code size: 134 Bytes.

def fab(max):
    n,a,b=0,0,1
    while n<max:
        yield b
        a,b=b,a+b
        n=n+1

for n in fab(6):
    print n

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).