input: Write a function to generate an HTML page containing a table with employee data provided as a list of dictionaries. Each dictionary contains the employee's name, job title, department, and salary. The function should return the complete HTML string.
  assert generate_employee_table([{"name": "John Doe", "job_title": "Senior Developer", "department": "IT", "salary": "$120,000"}, {"name": "Jane Doe", "job_title": "Manager", "department": "Finance", "salary": "$95,000"}, {"name": "Tim Smith", "job_title": "Junior Developer", "department": "IT", "salary": "$55,000"}])=='''<html>
    <head>
      <title>Employee Data</title>
    </head>
    <body>
      <table>
        <thead>
          <tr>
            <th>Name</th>
            <th>Job Title</th>
            <th>Department</th>
            <th>Salary</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td>John Doe</td>
            <td>Senior Developer</td>
            <td>IT</td>
            <td>$120,000</td>
          </tr>
          <tr>
            <td>Jane Doe</td>
            <td>Manager</td>
            <td>Finance</td>
            <td>$95,000</td>
          </tr>
          <tr>
            <td>Tim Smith</td>
            <td>Junior Developer</td>
            <td>IT</td>
            <td>$55,000</td>
          </tr>
        </tbody>
      </table>
    </body>
  </html>'''
  assert generate_employee_table([])=='''<html>
    <head>
      <title>Employee Data</title>
    </head>
    <body>
      <table>
        <thead>
          <tr>
            <th>Name</th>
            <th>Job Title</th>
            <th>Department</th>
            <th>Salary</th>
          </tr>
        </thead>
        <tbody>
        </tbody>
      </table>
    </body>
  </html>'''
  assert generate_employee_table([{"name": "Alice White", "job_title": "Analyst", "department": "HR", "salary": "$75,000"}])=='''<html>
    <head>
      <title>Employee Data</title>
    </head>
    <body>
      <table>
        <thead>
          <tr>
            <th>Name</th>
            <th>Job Title</th>
            <th>Department</th>
            <th>Salary</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td>Alice White</td>
            <td>Analyst</td>
            <td>HR</td>
            <td>$75,000</td>
          </tr>
        </tbody>
      </table>
    </body>
  </html>'''
output: def generate_employee_table(employees):
      html = '''<html>
    <head>
      <title>Employee Data</title>
    </head>
    <body>
      <table>
        <thead>
          <tr>
            <th>Name</th>
            <th>Job Title</th>
            <th>Department</th>
            <th>Salary</th>
          </tr>
        </thead>
        <tbody>'''
      for employee in employees:
          html += f'''
          <tr>
            <td>{employee['name']}</td>
            <td>{employee['job_title']}</td>
            <td>{employee['department']}</td>
            <td>{employee['salary']}</td>
          </tr>'''
      html += '''
        </tbody>
      </table>
    </body>
  </html>'''
      return html