list = ["mo","deng","ge"]
list1 = [1,2,3]
list2 = []
for i in range(len(list)):
list2.append((list[i],list1[i]))
print(list2)
打印结果:
[('mo', 1), ('deng', 2), ('ge', 3)]
来源:CSDN
作者:Agoni-byh
链接:https://blog.csdn.net/qq_42791420/article/details/103497727