how to print 2 list in python as table

Solutions on MaxInterview for how to print 2 list in python as table by the best coders in the world

showing results for - "how to print 2 list in python as table"
Angus
29 Sep 2017
1a = ['a', 'b', 'c']
2b = ['1', '0', '0']
3res = "\n".join("{} {}".format(x, y) for x, y in zip(a, b))