code: def add_row(self, row):
  
          
  
          if self._field_names and len(row) != len(self._field_names):
              raise Exception("Row has incorrect number of values, (actual) %d!=%d (expected)" %(len(row),len(self._field_names)))
          self._rows.append(list(row))
docs: Add a row to the table
  
          Arguments:
  
          row - row of data, should be a list with as many elements as the table
          has fields