input: Write a function to solve a quadratic equation in Python. The function should take three parameters representing the coefficients a, b, and c of the quadratic equation ax^2 + bx + c = 0. If the discriminant is negative, the function should return a dictionary with "status" set to False and an empty "roots" list. If the discriminant is zero, the function should return a dictionary with "status" set to True and a list containing the single real root. Otherwise, the function should return a dictionary with "status" set to True and a list containing both real roots.
  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]
          }
  
  a = 1
  b = 3
  c = -4
  
  print(solveQuadratic(a, b, c)) #{'status': True, 'roots': [-4.0, 1.0]}
  assert solveQuadratic(1, 3, -4) == {'status': True, 'roots': [-4.0, 1.0]}
  assert solveQuadratic(1, 2, 1) == {'status': True, 'roots': [-1.0]}
  assert solveQuadratic(1, 0, 1) == {'status': False, 'roots': []}
  assert solveQuadratic(1, -5, 6) == {'status': True, 'roots': [2.0, 3.0]}
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]
          }