Skip to content

Commit 9e84d8b

Browse files
authored
Merge pull request qiwsir#122 from ivysrono/patch-1
Update 124.md
2 parents f404cfb + af60b7c commit 9e84d8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

124.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ for循环在Python中应用广泛,所以,要用更多的篇幅来介绍。
6666
| method continues until the shortest iterable in the argument sequence
6767
| is exhausted and then it raises StopIteration.
6868

69-
Python 2中,参数是`seq1, seq2, ...`,意思是序列数据;在Python 3中,参数需要时可迭代对象。这点差别,通常是没有什么影响的,因为序列也是可迭代的。值得关注的是返回值,在Python 2中,返回值是一个列表对象,里面以元组为元素;而Python 3中返回的是一个zip对象。
69+
Python 2中,参数是`seq1, seq2, ...`,意思是序列数据;在Python 3中,参数需要是可迭代对象。这点差别,通常是没有什么影响的,因为序列也是可迭代的。值得关注的是返回值,在Python 2中,返回值是一个列表对象,里面以元组为元素;而Python 3中返回的是一个zip对象。
7070

7171
通过实验来理解上面的文档:
7272

0 commit comments

Comments
 (0)