Skip to content

Commit fbaba61

Browse files
committed
2 parents d6f2c09 + fa03709 commit fbaba61

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2482,17 +2482,17 @@ def fibs():
24822482

24832483

24842484
def fibonacci(n):
2485-
fibs = fibs()
2485+
fibs_ = fibs()
24862486
for _ in range(n):
2487-
next(fibs)
2487+
next(fibs_)
24882488
return next(fibs)
24892489
```
24902490

24912491
#### Logarithmic
24922492

24932493
**矩阵**
24942494

2495-
```
2495+
```python
24962496
import numpy as np
24972497
def fibonacci(n):
24982498
return (np.matrix([[0, 1], [1, 1]]) ** n)[1, 1]
@@ -2598,4 +2598,4 @@ class Solution:
25982598

25992599
### [Python后端架构演进](<https://zhu327.github.io/2018/07/19/python%E5%90%8E%E7%AB%AF%E6%9E%B6%E6%9E%84%E6%BC%94%E8%BF%9B/>)
26002600

2601-
这篇文章几乎涵盖了python会用的架构,在面试可以手画架构图,根据自己的项目谈下技术选型和优劣,遇到的坑等。绝对加分
2601+
这篇文章几乎涵盖了python会用的架构,在面试可以手画架构图,根据自己的项目谈下技术选型和优劣,遇到的坑等。绝对加分

0 commit comments

Comments
 (0)