Skip to content

Commit dbcab27

Browse files
committed
made the task a little harder hehe
1 parent 2cd9f3f commit dbcab27

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

homework/github_week3/fibonacci.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ def fibonacci_list(n: int) -> typing.List[int]:
1919

2020
def fibonacci_single(n: int) -> int:
2121
"""Returns the nth Fibonacci number"""
22-
return round((power(golden_section_num(), n) - power(-golden_section_reciprocal(), n)) / sqrt(5))
22+
pass
2323

2424

2525
def golden_section_num() -> float:
26-
"""Returns the golden section number"""
26+
"""Returns the golden section number (capital Phi)"""
2727
pass
2828

2929

3030
def golden_section_reciprocal() -> float:
31-
"""Returns the reciprocal of the golden section number"""
31+
"""Returns the reciprocal of the golden section number (lowercase phi)"""
3232
pass
3333

3434

0 commit comments

Comments
 (0)