📅  最后修改于: 2022-03-11 14:45:10.097000             🧑  作者: Mango
# example of using zip()
aa = [1, 2, 3, 4]
bb = ["a", "b", "c", "d"]
cc = [10, 20, 30, 40]
print(zip(aa, bb, cc))
#
print( list(zip(aa, bb, cc)) )
# [(1, 'a', 10), (2, 'b', 20), (3, 'c', 30), (4, 'd', 40)]