mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 09:21:13 +08:00
The black formatter is no longer beta (#5960)
* The black formatter is no longer beta * pre-commit autoupdate * pre-commit autoupdate * Remove project_euler/problem_145 which is killing our CI tests * updating DIRECTORY.md Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -159,7 +159,7 @@ def fib_binet(n: int) -> list[int]:
|
||||
raise Exception("n is too large")
|
||||
sqrt_5 = sqrt(5)
|
||||
phi = (1 + sqrt_5) / 2
|
||||
return [round(phi ** i / sqrt_5) for i in range(n + 1)]
|
||||
return [round(phi**i / sqrt_5) for i in range(n + 1)]
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Reference in New Issue
Block a user