how to make a 2d list code example
Example: python print 2d array as table
for row in A:
for val in row:
print '{:4}'.format(val),
print
for row in A:
for val in row:
print '{:4}'.format(val),
print