Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to print 2 list in python as table

a = ['a', 'b', 'c']
b = ['1', '0', '0']
res = "
".join("{} {}".format(x, y) for x, y in zip(a, b))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #list #python #table
ADD COMMENT
Topic
Name
3+2 =