Fib generator
(Python)
Won 59.74% of the time
def
fibs
():
"
Enumerate the Fibonacci numbers.
"
a
=
b
=
1
while
True
:
yield
a
a
,
b
=
b
,
a
+
b