标签: python
你能解决我的问题,我有以下清单:
l1=["123", "456", "789"] l2=["car", "plane", "bike"] l3=["159", "200", "400"]
如何将它们放在一起以获得此输出:
l4=["123 car 159", "456 plane 200", "789 bike 400"]
答案 0 :(得分:1)
类似的东西:
[' '.join(x) for x in zip(l1, l2, l3)]