''' Purpose: introductory take on examining a table of values ''' table = [ ["A", "B", "C" ], [ "D", "E", "F" ], [ "G", "H", "I" ], [ "J", "K", "L" ] ] rows = 4 cols = 3 print( table ) print() print() for element in table : print( element ) print() print() for r in range( 0, rows ) : row = table[ r ] print( r, row ) print() print() for r in range( 0, rows ) : row = table[ r ] print( r, row ) for c in range( 0, cols ) : cell = table[ r ][ c ] print( " ", r, c, cell ) print() print() for r in range( 0, rows ) : for c in range( 0, cols ) : cell = table[ r ][ c ] print( cell, end=" " ) print() print() print()