code: def row2table(soup, table, row):
      
      tr = Tag(soup, name="tr")
      table.append(tr)
      for attr in row:
          td = Tag(soup, name="td")
          tr.append(td)
          td.append(attr)
docs: ad a row to the table