input: Write a function to solve a quadratic equation given the coefficients a, b, and c. Return a dictionary with the status and roots of the equation. The status should be True if the equation has real roots, otherwise it should return False. If the discriminant is negative, return an empty list of roots. Otherwise, return the real roots.
  assert solveQuadratic(1, 3, -4)=={"status": True, "roots": [-4.0, 1.0]}
  assert solveQuadratic(1, 1, 1)=={"status": False, "roots": []}
  assert solveQuadratic(1, 2, 1)=={"status": True, "roots": [-1.0]}
output: def solveQuadratic(a, b, c):
      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]}