Skip to content

Commit 9203ffe

Browse files
committed
更正了文档中的部分bug
1 parent 1cdc87b commit 9203ffe

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

Day01-15/07.字符串和常用数据结构.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ if __name__ == '__main__':
104104
```Python
105105
def main():
106106
fruits = ['grape', 'apple', 'strawberry', 'waxberry']
107-
fruits += ['pitaya', 'pear', 'mango']
108-
# 循环遍历列表元素
107+
fruits += ['pitaya', 'pear', 'mango']
108+
# 循环遍历列表元素
109109
for fruit in fruits:
110110
print(fruit.title(), end=' ')
111111
print()

Day01-15/08.面向对象编程基础.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ if __name__ == "__main__":
131131
#### 练习1:定义一个类描述数字时钟
132132

133133
```Python
134+
from time import sleep
135+
136+
134137
class Clock(object):
135138
"""数字时钟"""
136139

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@
570570
python manage.py inspectdb > app/models.py
571571
```
572572

573-
#### 第94天:[网络API接口设计](./Day91-100/94.网络API接口设计)
573+
#### 第94天:[网络API接口设计](./Day91-100/94.网络API接口设计.md)
574574

575575
#### 第95天:[使用Django开发项目](./Day91-100/95.使用Django开发项目.md)
576576

0 commit comments

Comments
 (0)