input: Write a python function to generate an HTML table with random numbers using the given code.
  assert generate_html_table(3, 2).count('<tr>') == 3
  assert generate_html_table(3, 2).count('<td>') == 6
  assert generate_html_table(4, 4).count('<tr>') == 4
  assert generate_html_table(4, 4).count('<td>') == 16
output: import random
  
  def generate_html_table(rows, cols):
      html = "<table>\n"
      for _ in range(rows):
          html += "  <tr>\n"
          for _ in range(cols):
              html += f"    <td>{random.randint(1, 100)}</td>\n"
          html += "  </tr>\n"
      html += "</table>"
      return html