We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f404cfb + af60b7c commit 9e84d8bCopy full SHA for 9e84d8b
124.md
@@ -66,7 +66,7 @@ for循环在Python中应用广泛,所以,要用更多的篇幅来介绍。
66
| method continues until the shortest iterable in the argument sequence
67
| is exhausted and then it raises StopIteration.
68
69
-Python 2中,参数是`seq1, seq2, ...`,意思是序列数据;在Python 3中,参数需要时可迭代对象。这点差别,通常是没有什么影响的,因为序列也是可迭代的。值得关注的是返回值,在Python 2中,返回值是一个列表对象,里面以元组为元素;而Python 3中返回的是一个zip对象。
+Python 2中,参数是`seq1, seq2, ...`,意思是序列数据;在Python 3中,参数需要是可迭代对象。这点差别,通常是没有什么影响的,因为序列也是可迭代的。值得关注的是返回值,在Python 2中,返回值是一个列表对象,里面以元组为元素;而Python 3中返回的是一个zip对象。
70
71
通过实验来理解上面的文档:
72
0 commit comments