Skip to content

Commit 243c42c

Browse files
committed
Merge branch 'master' of github.com:jackfrued/Python-100-Days
2 parents c8670bf + 3d11921 commit 243c42c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Day01-15/Day03/分支结构.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ else:
9090
print('f(%.2f) = %.2f' % (x, y))
9191
```
9292

93-
> **说明:**大家可以自己感受一下这两种写法到底是哪一种更好。在之前我们提到的Python之禅中有这么一句话“Flat is bettern than nested.”,之所以提出这个观点是因为嵌套结构的嵌套层次多了之后会严重的影响代码的可读性,如果可以使用扁平化的结构就不要去用嵌套,因此之前的写法是更好的做法。
93+
> **说明:**大家可以自己感受一下这两种写法到底是哪一种更好。在之前我们提到的Python之禅中有这么一句话“Flat is better than nested.”,之所以提出这个观点是因为嵌套结构的嵌套层次多了之后会严重的影响代码的可读性,如果可以使用扁平化的结构就不要去用嵌套,因此之前的写法是更好的做法。
9494
9595
### 练习
9696

0 commit comments

Comments
 (0)