Skip to content

Commit d3c3d73

Browse files
committed
增加了一道附加题,并且修正了部分文字错误
1 parent 1a13465 commit d3c3d73

3 files changed

Lines changed: 58 additions & 6 deletions

File tree

01-variable/answer-questions.ipynb

Lines changed: 42 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,11 @@
171171
},
172172
{
173173
"cell_type": "code",
174-
"execution_count": 8,
174+
"execution_count": 10,
175175
"metadata": {
176176
"ExecuteTime": {
177-
"end_time": "2020-07-13T08:41:54.500102Z",
178-
"start_time": "2020-07-13T08:41:54.496891Z"
177+
"end_time": "2020-07-13T08:58:50.891608Z",
178+
"start_time": "2020-07-13T08:58:50.888118Z"
179179
}
180180
},
181181
"outputs": [
@@ -195,11 +195,48 @@
195195
"print(c)"
196196
]
197197
},
198+
{
199+
"cell_type": "markdown",
200+
"metadata": {
201+
"ExecuteTime": {
202+
"end_time": "2020-07-13T09:00:17.331548Z",
203+
"start_time": "2020-07-13T09:00:17.328583Z"
204+
}
205+
},
206+
"source": [
207+
"## 变量类型 (附加题,不考)\n",
208+
"* 猜一下下面两行代码的执行结果:\n",
209+
"* print(type(100))\n",
210+
"* print(type(\"Hello\"))"
211+
]
212+
},
198213
{
199214
"cell_type": "code",
200-
"execution_count": null,
215+
"execution_count": 13,
216+
"metadata": {
217+
"ExecuteTime": {
218+
"end_time": "2020-07-13T09:00:34.525228Z",
219+
"start_time": "2020-07-13T09:00:34.522194Z"
220+
}
221+
},
222+
"outputs": [
223+
{
224+
"name": "stdout",
225+
"output_type": "stream",
226+
"text": [
227+
"<class 'int'>\n",
228+
"<class 'str'>\n"
229+
]
230+
}
231+
],
232+
"source": [
233+
"print(type(100))\n",
234+
"print(type(\"Hello\"))"
235+
]
236+
},
237+
{
238+
"cell_type": "markdown",
201239
"metadata": {},
202-
"outputs": [],
203240
"source": [
204241
"## Python 开发规范\n",
205242
"\n",

01-variable/questions.ipynb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,21 @@
5353
"* 打印出结果"
5454
]
5555
},
56+
{
57+
"cell_type": "markdown",
58+
"metadata": {
59+
"ExecuteTime": {
60+
"end_time": "2020-07-13T09:01:18.014910Z",
61+
"start_time": "2020-07-13T09:01:18.011117Z"
62+
}
63+
},
64+
"source": [
65+
"## 变量类型 (附加题,不考)\n",
66+
"* 猜一下下面两行代码的执行结果:\n",
67+
"* print(type(100))\n",
68+
"* print(type(\"Hello\"))"
69+
]
70+
},
5671
{
5772
"cell_type": "markdown",
5873
"metadata": {},

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## 前言
44

5-
为了大家有更多的 Python 练习机学,我整理了这本习题集
5+
为了大家有更多的 Python 练习机会,我整理了这本习题集
66

77
## 变量
88

0 commit comments

Comments
 (0)