input: from typing import List
  
  def generate_html_table(data: List[tuple], table_name: str, columns: List[str]) -> str:
      """ Generate an HTML table displaying information about the top 10 bestselling books
      in a specific genre from a given dataset.
      >>> data = [('Book1', 'Author1', 'Genre1', 100), ('Book2', 'Author2', 'Genre1', 99)]
      >>> generate_html_table(data, 'Books', ['title', 'author', 'genre', 'sales'])
      '<table><tr><th>title</th><th>author</th><th>genre</th><th>sales</th></tr><tr><td>Book1</td><td>Author1</td><td>Genre1</td><td>100</td></tr><tr><td>Book2</td><td>Author2</td><td>Genre1</td><td>99</td></tr></table>'
      """
      html = f'<table><tr>'
      for col in columns:
          html += f'<th>{col}</th>'
      html += '</tr>'
  
      for row in data:
          html += '<tr>'
          for item in row:
              html += f'<td>{item}</td>'
          html += '</tr>'
  
      html += '</table>'
      return html
output:     html = f'<table><tr>'
      for col in columns:
          html += f'<th>{col}</th>'
      html += '</tr>'
  
      for row in data:
          html += '<tr>'
          for item in row:
              html += f'<td>{item}</td>'
          html += '</tr>'
  
      html += '</table>'
      return html