-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
34 additions
and
33 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,10 @@ | |
"source": [ | ||
"# 聪明办法学 Python 2nd Edition\n", | ||
"## Chapter 1 启航 Getting Started\n", | ||
"---\n", | ||
"聪明办法学 Python 教学团队\n", | ||
"\n", | ||
"骆秀韬\n", | ||
"\n", | ||
"<p>[email protected]</p>" | ||
"<p>[email protected]</p>" | ||
] | ||
}, | ||
{ | ||
|
@@ -297,7 +297,6 @@ | |
} | ||
], | ||
"source": [ | ||
"# f(x) print -> f; (x) -> (\"Datawhale\"); x -> \"Datawhale\" 字符串 String\n", | ||
"print(\"Datawhale\") # for the learner,和学习者一起成长" | ||
] | ||
}, | ||
|
@@ -404,7 +403,7 @@ | |
} | ||
], | ||
"source": [ | ||
"print(\"Data\",\"whale\") # f(x, y)" | ||
"print(\"Data\",\"whale\")" | ||
] | ||
}, | ||
{ | ||
|
@@ -745,12 +744,12 @@ | |
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 27, | ||
"execution_count": 1, | ||
"id": "b245992c", | ||
"metadata": { | ||
"ExecuteTime": { | ||
"end_time": "2023-08-01T12:52:30.392899Z", | ||
"start_time": "2023-08-01T12:52:30.373898Z" | ||
"end_time": "2023-10-05T07:35:24.269818Z", | ||
"start_time": "2023-10-05T07:35:24.263877Z" | ||
}, | ||
"slideshow": { | ||
"slide_type": "fragment" | ||
|
@@ -759,10 +758,10 @@ | |
"outputs": [ | ||
{ | ||
"ename": "SyntaxError", | ||
"evalue": "EOL while scanning string literal (3098959924.py, line 2)", | ||
"evalue": "unterminated string literal (detected at line 2) (3098959924.py, line 2)", | ||
"output_type": "error", | ||
"traceback": [ | ||
"\u001b[1;36m Cell \u001b[1;32mIn [27], line 2\u001b[1;36m\u001b[0m\n\u001b[1;33m print(\"哦不!) # Error! 缺少结尾引号\u001b[0m\n\u001b[1;37m ^\u001b[0m\n\u001b[1;31mSyntaxError\u001b[0m\u001b[1;31m:\u001b[0m EOL while scanning string literal\n" | ||
"\u001b[1;36m Cell \u001b[1;32mIn[1], line 2\u001b[1;36m\u001b[0m\n\u001b[1;33m print(\"哦不!) # Error! 缺少结尾引号\u001b[0m\n\u001b[1;37m ^\u001b[0m\n\u001b[1;31mSyntaxError\u001b[0m\u001b[1;31m:\u001b[0m unterminated string literal (detected at line 2)\n" | ||
] | ||
} | ||
], | ||
|
@@ -1277,7 +1276,7 @@ | |
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.9.15" | ||
"version": "3.11.5" | ||
}, | ||
"latex_envs": { | ||
"LaTeX_envs_menu_present": true, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,10 @@ | |
"source": [ | ||
"# 聪明办法学 Python 2nd Edition\n", | ||
"## Chapter 2 数据类型和操作 Data Types and Operators\n", | ||
"---\n", | ||
"聪明办法学 Python 教学团队\n", | ||
"\n", | ||
"骆秀韬\n", | ||
"\n", | ||
"<p>[email protected]</p>" | ||
"<p>[email protected]</p>" | ||
] | ||
}, | ||
{ | ||
|
@@ -1335,7 +1335,7 @@ | |
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.9.15" | ||
"version": "3.11.5" | ||
}, | ||
"latex_envs": { | ||
"LaTeX_envs_menu_present": true, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,10 @@ | |
"source": [ | ||
"# 聪明办法学 Python 2nd Edition\n", | ||
"## Chapter 3 变量与函数 Variables and Functions\n", | ||
"---\n", | ||
"聪明办法学 Python 教学团队\n", | ||
"\n", | ||
"骆秀韬\n", | ||
"\n", | ||
"<p>[email protected]</p>" | ||
"<p>[email protected]</p>" | ||
] | ||
}, | ||
{ | ||
|
@@ -1530,7 +1530,7 @@ | |
} | ||
], | ||
"source": [ | ||
"print(x) # will crash!" | ||
"print(x) # crash!" | ||
] | ||
}, | ||
{ | ||
|
@@ -1560,7 +1560,7 @@ | |
} | ||
], | ||
"source": [ | ||
"print(y) # will also crash" | ||
"print(y) # crash!" | ||
] | ||
}, | ||
{ | ||
|
@@ -2688,7 +2688,7 @@ | |
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.9.15" | ||
"version": "3.11.5" | ||
}, | ||
"rise": { | ||
"overlay": "<div class='my-top-right'><img height=40px src='../resources/datawhale_logo.png'/></div><div class='my-top-left'></div>" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,10 @@ | |
"source": [ | ||
"# 聪明办法学 Python 2nd Edition\n", | ||
"## Chapter 4 条件 Conditionals\n", | ||
"---\n", | ||
"聪明办法学 Python 教学团队\n", | ||
"\n", | ||
"骆秀韬\n", | ||
"\n", | ||
"<p>[email protected]</p>" | ||
"<p>[email protected]</p>" | ||
] | ||
}, | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,10 +10,10 @@ | |
"source": [ | ||
"# 聪明办法学 Python 2nd Edition\n", | ||
"## Chapter 5 循环 Loop\n", | ||
"---\n", | ||
"聪明办法学 Python 教学团队\n", | ||
"\n", | ||
"骆秀韬\n", | ||
"\n", | ||
"<p>[email protected]</p>" | ||
"<p>[email protected]</p>" | ||
] | ||
}, | ||
{ | ||
|
@@ -1434,7 +1434,7 @@ | |
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.9.15" | ||
"version": "3.11.5" | ||
}, | ||
"rise": { | ||
"overlay": "<div class='my-top-right'><img height=40px src='../resources/datawhale_logo.png'/></div><div class='my-top-left'></div>" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters