input: 
  def generate_html_table(genre: str) -> str:
      """Generate an HTML table displaying information about the top 10 bestselling books in the given genre.
      >>> print(generate_html_table('Fantasy'))
      <table><tr><th>Title</th><th>Author</th><th>Genre</th><th>Sales</th></tr><tr><td>Book1</td><td>Author1</td><td>Fantasy</td><td>1000</td></tr><tr><td>Book2</td><td>Author2</td><td>Fantasy</td><td>900</td></tr></table>
      """
  
output:     table = "<table><tr><th>Title</th><th>Author</th><th>Genre</th><th>Sales</th></tr>"
      books = [
          {"title": "Book1", "author": "Author1", "genre": "Fantasy", "sales": 1000},
          {"title": "Book2", "author": "Author2", "genre": "Fantasy", "sales": 900},
          {"title": "Book3", "author": "Author3", "genre": "Fantasy", "sales": 800},
          {"title": "Book4", "author": "Author4", "genre": "Fantasy", "sales": 700},
          {"title": "Book5", "author": "Author5", "genre": "Fantasy", "sales": 600},
          {"title": "Book6", "author": "Author6", "genre": "Fantasy", "sales": 500},
          {"title": "Book7", "author": "Author7", "genre": "Fantasy", "sales": 400},
          {"title": "Book8", "author": "Author8", "genre": "Fantasy", "sales": 300},
          {"title": "Book9", "author": "Author9", "genre": "Fantasy", "sales": 200},
          {"title": "Book10", "author": "Author10", "genre": "Fantasy", "sales": 100}
      ]
      
      for book in books:
          table += f"<tr><td>{book['title']}</td><td>{book['author']}</td><td>{book['genre']}</td><td>{book['sales']}</td></tr>"
      
      table += "</table>"
      return table