Repository navigation
Expand file tree
/
Copy pathmodule_2.html
More file actions
373 lines (256 loc) · 24.3 KB
/
Copy pathmodule_2.html
File metadata and controls
373 lines (256 loc) · 24.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="zh-CN" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="zh-CN" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>模组2:Python基础 — Python Like You Mean It</title>
<script type="text/javascript" src="_static/js/modernizr.min.js"></script>
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/language_data.js"></script>
<script src="https://www.googletagmanager.com/gtag/js?id=UA-115029372-1"></script>
<script src="_static/gtag.js"></script>
<script src="_static/translations.js"></script>
<script async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/x-mathjax-config">MathJax.Hub.Config({"tex2jax": {"inlineMath": [["$", "$"], ["\\(", "\\)"]], "processEscapes": true, "ignoreClass": "document", "processClass": "math|output_area"}})</script>
<script type="text/javascript" src="_static/js/theme.js"></script>
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/my_theme.css" type="text/css" />
<link rel="index" title="索引" href="genindex.html" />
<link rel="search" title="搜索" href="search.html" />
<link rel="next" title="基本对象类型" href="Module2_EssentialsOfPython/Basic_Objects.html" />
<link rel="prev" title="设置开发环境" href="Module1_GettingStartedWithPython/Getting_Started_With_IDEs_and_Notebooks.html" />
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="index.html" class="icon icon-home"> Python Like You Mean It
</a>
<div class="version">
1.4
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<p class="caption"><span class="caption-text">目录:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="intro.html">Python Like You Mean It</a></li>
<li class="toctree-l1"><a class="reference internal" href="module_1.html">模组1:Python入门</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">模组2:Python基础</a><ul>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Basic_Objects.html">基本对象类型</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/SequenceTypes.html">序列类型</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Variables_and_Assignment.html">变量和赋值</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Introduction.html">控制流简介</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/ConditionalStatements.html">条件语</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/ForLoops.html">For循环和While循环</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Iterables.html">可迭代物</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Generators_and_Comprehensions.html">生成器和理解表达式</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Itertools.html">Python的“Itertools”</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Functions.html">函数基础</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Scope.html">作用域</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/DataStructures.html">数据结构(第一部分):简介</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/DataStructures_II_Dictionaries.html">数据结构(第二部分):词典</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/DataStructures_III_Sets_and_More.html">数据结构(第三部分):集和集合模组</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="module_2_problems.html">模组2:题目</a></li>
<li class="toctree-l1"><a class="reference internal" href="module_3.html">模组3:NumPy基础</a></li>
<li class="toctree-l1"><a class="reference internal" href="module_3_problems.html">模组3:题目</a></li>
<li class="toctree-l1"><a class="reference internal" href="module_4.html">模组4:面向对象编程</a></li>
<li class="toctree-l1"><a class="reference internal" href="module_5.html">模组5:琐碎话题</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">Python Like You Mean It</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html">Docs</a> »</li>
<li>模组2:Python基础</li>
<li class="wy-breadcrumbs-aside">
<a href="_sources/module_2.rst.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<style>
/* CSS overrides for sphinx_rtd_theme */
/* 24px margin */
.nbinput.nblast,
.nboutput.nblast {
margin-bottom: 19px; /* padding has already 5px */
}
/* ... except between code cells! */
.nblast + .nbinput {
margin-top: -19px;
}
.admonition > p:before {
margin-right: 4px; /* make room for the exclamation icon */
}
/* Fix math alignment, see https://github.com/rtfd/sphinx_rtd_theme/pull/686 */
.math {
text-align: unset;
}
</style>
<div class="section" id="python">
<h1>模组2:Python基础<a class="headerlink" href="#python" title="永久链接至标题">¶</a></h1>
<p>本模组旨在向你介绍Python最基础的一些元素。我们会首先学习Python自带的核心对象。这将允许我们对数字,文本,和可以存储多个对象的容器进行操作。列表(list),元组(tuple),和字符串(string)都可以存储一*序列*的对象(字符串存储的对象就是字符),所以Python提供了一个用来操作这些对象的通用接口;操作这些数据序列的技能是进行几乎任何Python科学工作的奠基石。</p>
<p>在介绍过Python基本的对象类型和操作序列的方法后,我们会正式讨论给这些对象设置变量的过程。你将会经常见到一个对象对应多个变量的情况;Python处理同一个对象对应多个“引用”(reference)的方法将在这里被讨论解释。在这个过程中我们将会区分*可变*对象和*不可变*对象。</p>
<p>学会了更多的Python对象以及用变量引用Python对象的操作方法后,我们将会学习如何控制代码中的逻辑流程。我们将使用“if”,“else”,和“else-if”语句来让计算机只在某些条件达成时才执行代码的某个枝干(如,当学生A的成绩低于65分时,执行代码来向学生发一封警告信电邮)。“while-loop”(while循环)和“for-loop”(for循环)则允许我们重复执行代码区块(如,为列表中的每一个学生计算平均成绩)。这些叫做控制流(control-flow)的工具将会大幅提升我们写高效代码的能力。</p>
<p>讨论完for循环后,我们将花些时间探索Python语言针对可迭代(iterable)(你可以暂时理解为将“可迭代”定义为“可以通过for循环迭代的”)对象提供的一些方便功能。说方便其实有点轻描淡写了;这些功能将会极大幅度提升我们编写干净,简短,和高效率的代码的能力。我们将会仔细探讨生成器理解语句(generator comprehension statement)。这将允许我们处理长序列的数据而不需要将整套数据都存在内存中。我相信在最后你会庆幸你学习了这些技能和工具。</p>
<p>回到更传统的编程语言模式,我们会学习如何定义我们自己的函数。这将允许我们包装并在未来随时通过调用(call)函数来运行其中的代码。函数允许我们将代码模组化并利用它们创造强大的算法。</p>
<p>最后,我们会回到最初的任务:学习不同类型的Python内置对象。这次,我们会额外学习词典(dictionary),集合(set),和其它类型的集(collection)。在提升了我们对Python的理解后,我们可以考虑一些更加微妙但极其重要的事情。其中之一就是不同算法在不同数据结构下的效率。比如说,你将学到检查一个对象是否在某集中比检查是否在某列表中快*很多*。对任何一个任务采取正确的工具会对你的效率产生显著的影响。</p>
<p>虽然本模组不可能面面俱到,但它会帮助你熟悉很多最重要最基础的Python元素,以及使得这门语言易用的一些方便功能。本模组最终的目的还是帮助读者了解编写易读有效的代码——特别是和数据科学应用有关的代码——所需的工具。编写代码的过程不应该感觉像是将一个个不明所以的黑箱叠加在一起;因此,本模组会包含很多的细节。我希望在本文平衡了易读性和深度,来帮助读者带走最重要的一些知识点。</p>
<div class="toctree-wrapper compound">
<p class="caption"><span class="caption-text">内容:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="Module2_EssentialsOfPython/Basic_Objects.html">基本对象类型</a><ul>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Basic_Objects.html#数字类型">数字类型</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Basic_Objects.html#布尔类">布尔类</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Basic_Objects.html#None类型">None类型</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Basic_Objects.html#字符串">字符串</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Basic_Objects.html#列表">列表</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Basic_Objects.html#总结">总结</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Basic_Objects.html#官方说明文档链接">官方说明文档链接</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Basic_Objects.html#阅读理解答案">阅读理解答案</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="Module2_EssentialsOfPython/SequenceTypes.html">序列类型</a><ul>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/SequenceTypes.html#元组">元组</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/SequenceTypes.html#操作序列">操作序列</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/SequenceTypes.html#官方说明文档链接">官方说明文档链接</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/SequenceTypes.html#阅读理解答案">阅读理解答案</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="Module2_EssentialsOfPython/Variables_and_Assignment.html">变量和赋值</a><ul>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Variables_and_Assignment.html#变量的合法名字">变量的合法名字</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Variables_and_Assignment.html#可变和不可变对象">可变和不可变对象</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Variables_and_Assignment.html#多个变量引用一个可变对象">多个变量引用一个可变对象</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Variables_and_Assignment.html#阅读理解答案">阅读理解答案</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="Module2_EssentialsOfPython/Introduction.html">控制流简介</a><ul>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Introduction.html#Python使用空格来限定区域">Python使用空格来限定区域</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="Module2_EssentialsOfPython/ConditionalStatements.html">条件语</a><ul>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/ConditionalStatements.html#比较运算">比较运算</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/ConditionalStatements.html#bool-和非布尔类对象的真值"><code class="docutils literal notranslate"><span class="pre">bool</span></code> 和非布尔类对象的真值</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/ConditionalStatements.html#if,else,和-elif"><code class="docutils literal notranslate"><span class="pre">if</span></code>,<code class="docutils literal notranslate"><span class="pre">else</span></code>,和 <code class="docutils literal notranslate"><span class="pre">elif</span></code></a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/ConditionalStatements.html#短路逻辑表达式">短路逻辑表达式</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/ConditionalStatements.html#官方说明文档连接">官方说明文档连接</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/ConditionalStatements.html#阅读理解答案">阅读理解答案</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="Module2_EssentialsOfPython/ForLoops.html">For循环和While循环</a><ul>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/ForLoops.html#For循环">For循环</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/ForLoops.html#While循环">While循环</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/ForLoops.html#循环中的-break,continue,和-else-句段">循环中的 <code class="docutils literal notranslate"><span class="pre">break</span></code>,<code class="docutils literal notranslate"><span class="pre">continue</span></code>,和 <code class="docutils literal notranslate"><span class="pre">else</span></code> 句段</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/ForLoops.html#官方说明文档链接">官方说明文档链接</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/ForLoops.html#阅读理解答案">阅读理解答案</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="Module2_EssentialsOfPython/Iterables.html">可迭代物</a><ul>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Iterables.html#操作可迭代物的函数">操作可迭代物的函数</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Iterables.html#操作可迭代物的技巧">操作可迭代物的技巧</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Iterables.html#官方说明文档链接">官方说明文档链接</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Iterables.html#阅读理解答案">阅读理解答案</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="Module2_EssentialsOfPython/Generators_and_Comprehensions.html">生成器和理解表达式</a><ul>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Generators_and_Comprehensions.html#生成器简介">生成器简介</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Generators_and_Comprehensions.html#创建你自己的生成器:生成器理解">创建你自己的生成器:生成器理解</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Generators_and_Comprehensions.html#使用-next-迭代生成器">使用 <code class="docutils literal notranslate"><span class="pre">next</span></code> 迭代生成器</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Generators_and_Comprehensions.html#列表和元组理解">列表和元组理解</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Generators_and_Comprehensions.html#官方说明文档链接">官方说明文档链接</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Generators_and_Comprehensions.html#阅读理解答案:">阅读理解答案:</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="Module2_EssentialsOfPython/Itertools.html">Python的“Itertools”</a><ul>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Itertools.html#官方说明文档链接">官方说明文档链接</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Itertools.html#阅读理解答案">阅读理解答案</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="Module2_EssentialsOfPython/Functions.html">函数基础</a><ul>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Functions.html#def-语句"><code class="docutils literal notranslate"><span class="pre">def</span></code> 语句</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Functions.html#return-语句"><code class="docutils literal notranslate"><span class="pre">return</span></code> 语句</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Functions.html#单行函数">单行函数</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Functions.html#参数">参数</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Functions.html#函数也是对象">函数也是对象</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Functions.html#官方说明文档链接">官方说明文档链接</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Functions.html#阅读理解答案">阅读理解答案</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="Module2_EssentialsOfPython/Scope.html">作用域</a><ul>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Scope.html#变量重影">变量重影</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/Scope.html#官方说明文档链接">官方说明文档链接</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="Module2_EssentialsOfPython/DataStructures.html">数据结构(第一部分):简介</a><ul>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/DataStructures.html#描述算法复杂度">描述算法复杂度</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/DataStructures.html#序列性数据结构:列表和元组">序列性数据结构:列表和元组</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="Module2_EssentialsOfPython/DataStructures_II_Dictionaries.html">数据结构(第二部分):词典</a><ul>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/DataStructures_II_Dictionaries.html#词典基础">词典基础</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/DataStructures_II_Dictionaries.html#词典可以储存什么?">词典可以储存什么?</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/DataStructures_II_Dictionaries.html#官方说明文档链接">官方说明文档链接</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/DataStructures_II_Dictionaries.html#阅读理解答案">阅读理解答案</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="Module2_EssentialsOfPython/DataStructures_III_Sets_and_More.html">数据结构(第三部分):集和集合模组</a><ul>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/DataStructures_III_Sets_and_More.html#集数据结构">集数据结构</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/DataStructures_III_Sets_and_More.html#collections模组">collections模组</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/DataStructures_III_Sets_and_More.html#官方说明文档链接">官方说明文档链接</a></li>
<li class="toctree-l2"><a class="reference internal" href="Module2_EssentialsOfPython/DataStructures_III_Sets_and_More.html#阅读理解答案">阅读理解答案</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="Module2_EssentialsOfPython/Basic_Objects.html" class="btn btn-neutral float-right" title="基本对象类型" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
<a href="Module1_GettingStartedWithPython/Getting_Started_With_IDEs_and_Notebooks.html" class="btn btn-neutral float-left" title="设置开发环境" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<p>
© Copyright 2019, Ryan Soklaski
</p>
</div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>