Skip to content
This repository has been archived by the owner on Mar 12, 2023. It is now read-only.

implement iterative fib #21

Closed
aczwink opened this issue Dec 12, 2020 · 0 comments
Closed

implement iterative fib #21

aczwink opened this issue Dec 12, 2020 · 0 comments
Assignees

Comments

@aczwink
Copy link
Owner

aczwink commented Dec 12, 2020

for example in python one can nicely write:
a,b = 0,1
while True:
yield a
a, b = b, a + b

@aczwink aczwink self-assigned this Dec 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant