Skip to content

Commit fa03709

Browse files
authored
Merge pull request #67 from nasyxx/patch-6
Fix typo in 232
2 parents b36fcf7 + faf6ba1 commit fa03709

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
@@ -2554,17 +2554,17 @@ def fibs():
25542554

25552555

25562556
def fibonacci(n):
2557-
fibs = fibs()
2557+
fibs_ = fibs()
25582558
for _ in range(n):
2559-
next(fibs)
2559+
next(fibs_)
25602560
return next(fibs)
25612561
```
25622562

25632563
#### Logarithmic
25642564

25652565
**矩阵**
25662566

2567-
```
2567+
```python
25682568
import numpy as np
25692569
def fibonacci(n):
25702570
return (np.matrix([[0, 1], [1, 1]]) ** n)[1, 1]
@@ -2670,4 +2670,4 @@ class Solution:
26702670

26712671
### [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/>)
26722672

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

0 commit comments

Comments
 (0)