input: Write a function to solve a quadratic equation given coefficients a, b, and c. The function should return a dictionary with two keys: "status" which is a boolean indicating whether roots were found (True) or not (False), and "roots" which is a list of the roots of the equation. The list should be empty if no roots are found, contain one root if only one root is found, or contain two roots if two roots are found. 
  
  def solveQuadratic(a, b, c): 
      discriminant = (b**2) - (4*a*c);
      
      # If discriminant is negative there are no real roots.
      if (discriminant < 0): 
          return {
              "status": False,
              "roots": []
          }
      # If discriminant is zero, there is only one real roots.
      elif (discriminant == 0):
          x = -b/(2*a)
          return {
              "status": True,
              "roots": [x]
          }
      # Otherwise there are 2 real roots 
      else:
          x1 = (-b + math.sqrt(discriminant)) / (2*a); 
          x2 = (-b - math.sqrt(discriminant)) / (2*a); 
          return {
              "status": True,
              "roots": [x1, x2]
          }
  
  # Test cases
  assert solveQuadratic(1, 3, -4) == {"status": True, "roots": [-4.0, 1.0]}
  assert solveQuadratic(1, -4, 4) == {"status": True, "roots": [2.0]}
  assert solveQuadratic(1, 2, 5) == {"status": False, "roots": []}
  assert solveQuadratic(1, 0, -9) == {"status": True, "roots": [-3.0, 3.0]}
  assert solveQuadratic(0, 3, -4) == {"status": False, "roots": []}
output: def solveQuadratic(a, b, c): 
      discriminant = (b**2) - (4*a*c)
      
      if discriminant < 0: 
          return {
              "status": False,
              "roots": []
          }
      elif discriminant == 0:
          x = -b/(2*a)
          return {
              "status": True,
              "roots": [x]
          }
      else:
          x1 = (-b + math.sqrt(discriminant)) / (2*a)
          x2 = (-b - math.sqrt(discriminant)) / (2*a)
          return {
              "status": True,
              "roots": [x1, x2]
          }