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