input: def solveQuadratic(a: float, b: float, c: float) -> dict:
      """ Solve a quadratic equation given the coefficients a, b, and c.
      Return a dictionary with a boolean 'status' indicating whether the equation has real roots,
      and a list 'roots' containing the real roots if they exist.
      >>> solveQuadratic(1, 3, -4)
      {'status': True, 'roots': [-4.0, 1.0]}
      >>> solveQuadratic(2, 4, 2)
      {'status': True, 'roots': [-1.0]}
      >>> solveQuadratic(1, 0, 1)
      {'status': False, 'roots': []}
      """
output:     discriminant = b**2 - 4*a*c
      if discriminant < 0:
          return {'status': False, 'roots': []}
      elif discriminant == 0:
          root = -b / (2*a)
          return {'status': True, 'roots': [root]}
      else:
          root1 = (-b + discriminant**0.5) / (2*a)
          root2 = (-b - discriminant**0.5) / (2*a)
          return {'status': True, 'roots': [root1, root2]}