input: Write a function to solve a quadratic equation given its coefficients a, b, and c. The function should return a dictionary with keys 'status' and 'roots'. 'status' will be True if there are real roots and False if there are no real roots. 'roots' will be a list with the real roots of the equation, if any exist. If the discriminant is zero, there is one real root; if the discriminant is positive, there are two real 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]
          }
  
  a = 1
  b = 3
  c = -4
  
  assert solveQuadratic(a, b, c) == {'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': []}
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]
          }