提交 9203ffe3 编写于 作者: J jackfrued

更正了文档中的部分bug

上级 1cdc87b3
...@@ -104,8 +104,8 @@ if __name__ == '__main__': ...@@ -104,8 +104,8 @@ if __name__ == '__main__':
```Python ```Python
def main(): def main():
fruits = ['grape', 'apple', 'strawberry', 'waxberry'] fruits = ['grape', 'apple', 'strawberry', 'waxberry']
fruits += ['pitaya', 'pear', 'mango'] fruits += ['pitaya', 'pear', 'mango']
# 循环遍历列表元素 # 循环遍历列表元素
for fruit in fruits: for fruit in fruits:
print(fruit.title(), end=' ') print(fruit.title(), end=' ')
print() print()
......
...@@ -131,6 +131,9 @@ if __name__ == "__main__": ...@@ -131,6 +131,9 @@ if __name__ == "__main__":
#### 练习1:定义一个类描述数字时钟 #### 练习1:定义一个类描述数字时钟
```Python ```Python
from time import sleep
class Clock(object): class Clock(object):
"""数字时钟""" """数字时钟"""
......
...@@ -570,7 +570,7 @@ ...@@ -570,7 +570,7 @@
python manage.py inspectdb > app/models.py python manage.py inspectdb > app/models.py
``` ```
#### 第94天:[网络API接口设计](./Day91-100/94.网络API接口设计) #### 第94天:[网络API接口设计](./Day91-100/94.网络API接口设计.md)
#### 第95天:[使用Django开发项目](./Day91-100/95.使用Django开发项目.md) #### 第95天:[使用Django开发项目](./Day91-100/95.使用Django开发项目.md)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册