📜  如何在python代码示例中并排打印两个列表

📅  最后修改于: 2022-03-11 14:45:15.987000             🧑  作者: Mango

代码示例1
# credit to the Stack Overflow user in the source link

a = ['a', 'b', 'c']
b = ['1', '0', '0']
res = "\n".join("{} {}".format(x, y) for x, y in zip(a, b))