python 多列表对应的位置的值形成一个新的列表

list1 = [1, 2, 3, 4, 5]
list2 = ['a','b', 'c', 'd', 'e']
list3 = [1, 2, 3, 4, 5]
multi_list = map(list, zip(list1, list2, list3))
for i in multi_list:
    print i

’‘’
输出结果
[1, 'a', 1]
[2, 'b', 2]
[3, 'c', 3]
[4, 'd', 4]
[5, 'e', 5]



‘’‘

  

原文地址:https://www.cnblogs.com/ymkdxw/p/10565905.html