Answers for "how to print two lists side by side in python"

0

how to print two lists side by side in python

# 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))
Posted by: Guest on June-04-2021

Code answers related to "how to print two lists side by side in python"

Python Answers by Framework

Browse Popular Code Answers by Language