input: 
  from typing import List, Tuple
  
  def generate_html_table(genre: str) -> str:
      """ Generate an HTML table displaying information about the top 10 bestselling books
      in a specific genre from a SQLite database.
      >>> generate_html_table('Fantasy')
      '<table><tr><th>Title</th><th>Author</th><th>Genre</th><th>Sales</th></tr><tr><td>The Hobbit</td><td>J.R.R. Tolkien</td><td>Fantasy</td><td>1000000</td></tr><tr><td>Harry Potter</td><td>J.K. Rowling</td><td>Fantasy</td><td>900000</td></tr><tr><td>Eragon</td><td>Christopher Paolini</td><td>Fantasy</td><td>800000</td></tr><tr><td>The Name of the Wind</td><td>Patrick Rothfuss</td><td>Fantasy</td><td>700000</td></tr><tr><td>A Song of Ice and Fire</td><td>George R.R. Martin</td><td>Fantasy</td><td>600000</td></tr><tr><td>Wheel of Time</td><td>Robert Jordan</td><td>Fantasy</td><td>500000</td></tr><tr><td>The Lies of Locke Lamora</td><td>Scott Lynch</td><td>Fantasy</td><td>400000</td></tr><tr><td>The Magicians</td><td>Lev Grossman</td><td>Fantasy</td><td>300000</td></tr><tr><td>The Way of Kings</td><td>Brandon Sanderson</td><td>Fantasy</td><td>200000</td></tr><tr><td>Theft of Swords</td><td>Michael J. Sullivan</td><td>Fantasy</td><td>100000</td></tr></table>'
      """
  
output:     
      import sqlite3
  
      conn = sqlite3.connect('books.db')
      cursor = conn.cursor()
  
      cursor.execute("SELECT Title, Author, Genre, Sales FROM Books WHERE Genre=? ORDER BY Sales DESC LIMIT 10", (genre,))
      rows = cursor.fetchall()
  
      conn.close()
  
      html_table = '<table><tr><th>Title</th><th>Author</th><th>Genre</th><th>Sales</th></tr>'
      for row in rows:
          html_table += f'<tr><td>{row[0]}</td><td>{row[1]}</td><td>{row[2]}</td><td>{row[3]}</td></tr>'
      html_table += '</table>'
  
      return html_table
  