list1 = ["mo","deng","ge"]
list2 = [1,2,3]
list3 = list(zip(list1,list2))
print(list3)
结果:
[('mo', 1), ('deng', 2), ('ge', 3)]
list1 = ["mo","deng","ge"]
list2 = [1,2,3]
list3 = list(zip(list1,list2))
print(list3)
结果:
[('mo', 1), ('deng', 2), ('ge', 3)]