input: Write a function to solve a quadratic equation given the coefficients a, b, and c. The function should return a dictionary containing a boolean "status" key that indicates if the solution was successful (True) or if there are no real roots (False), and a "roots" key that holds the resulting roots in a list. If the discriminant is negative, the list should be empty; if the discriminant is zero, the list should contain one root; and if the discriminant is positive, the list should contain two roots.
  
  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]
          }
  
  assert solveQuadratic(1, 3, -4) == {'status': True, 'roots': [-4.0, 1.0]}
  assert solveQuadratic(1, 0, 1) == {'status': False, 'roots': []}
  assert solveQuadratic(1, 0, -1) == {'status': True, 'roots': [-1.0, 1.0]}
  assert solveQuadratic(1, 6, 9) == {'status': True, 'roots': [-3.0]}
output: 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]
          }