We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cd9f3f commit dbcab27Copy full SHA for dbcab27
homework/github_week3/fibonacci.py
@@ -19,16 +19,16 @@ def fibonacci_list(n: int) -> typing.List[int]:
19
20
def fibonacci_single(n: int) -> int:
21
"""Returns the nth Fibonacci number"""
22
- return round((power(golden_section_num(), n) - power(-golden_section_reciprocal(), n)) / sqrt(5))
+ pass
23
24
25
def golden_section_num() -> float:
26
- """Returns the golden section number"""
+ """Returns the golden section number (capital Phi)"""
27
pass
28
29
30
def golden_section_reciprocal() -> float:
31
- """Returns the reciprocal of the golden section number"""
+ """Returns the reciprocal of the golden section number (lowercase phi)"""
32
33
34
0 commit comments