高级特性
切片(从列表中取出元素)循环:12for i in range(n): r.append(L[i])
相比之下使用Python的Slice操作符可以大大简化。类似于MATLAB的向量切片。
迭代如果给定一个list或者tuple,用for循环的方式遍历这个list或tuple就叫做iter
...
You will never know unless you try