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