Skip to content

Commit aa192cb

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3c3d0f8 commit aa192cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

maths/fibonacci.py

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ def fib_iterative(n: int) -> list[int]:
6161
fib.append(fib[-1] + fib[-2])
6262
return fib
6363

64+
6465
def fib_iterative_yield(n: int) -> Iterator[int]:
6566
"""
6667
Calculates the first n (1-indexed) Fibonacci numbers using iteration with yield

0 commit comments

Comments
 (0)