2d matrix in python 3 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