📜  生成元组列表 python 代码示例

📅  最后修改于: 2022-03-11 14:45:05.519000             🧑  作者: Mango

代码示例1
>>> x = [1, 2, 3]
>>> y = [4, 5, 6]
>>> zipped = zip(x, y)
>>> zipped
[(1, 4), (2, 5), (3, 6)]