2d list goes by row column or column row code example
Example 1: python print 2d array as table
for row in A:
for val in row:
print '{:4}'.format(val),
print
Example 2: We pass in a 2 dimensional list. You should output the 3rd element of the 2nd row.
In a 2 dimensional list, output the 3rd element of the 2nd row.
# remember to account for 0 index
print(variable[1][2])