input: Write a function to solve the given quadratic equation using Python. The function should take three parameters a, b, and c representing the coefficients in the equation ax^2 + bx + c = 0. The function will compute the roots of the quadratic equation and return them as a dictionary with two keys: "status" which is a boolean indicating if roots were found, and "roots" which is a list of the roots found. If there are no real roots, the list should be empty.
  import math
    
  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, 2, 1) == {'status': True, 'roots': [-1.0]}
  assert solveQuadratic(2, 1, 3) == {'status': False, 'roots': []}
  assert solveQuadratic(1, 0, -4) == {'status': True, 'roots': [-2.0, 2.0]}
  assert solveQuadratic(0, 2, 3) == {'status': True, 'roots': [-1.5]}
  assert solveQuadratic(1, 0, 0) == {'status': True, 'roots': [0.0]}
output: import math
  
  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]
          }