Merge branch 'master' into master
This commit is contained in:
@@ -189,6 +189,7 @@ P7:9*9 乘法表
|
||||
P8:couple 情侣
|
||||
|
||||
实现函数 `couple`,它接受两个列表并返回一个列表,其中包含两个序列的第 i 个元素耦合在一起的列表。您可以假设两个序列的长度相同。
|
||||
tips:zip(list1,list2)
|
||||
|
||||
```python
|
||||
def couple(lst1, lst2):
|
||||
|
||||
Reference in New Issue
Block a user