input: Write a function to solve a quadratic equation given coefficients a, b, and c. Return a dictionary with a boolean key "status" indicating if real roots exist (True or False) and a list "roots" containing the real roots if they exist, otherwise an empty list.
  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(0, 1, 2) == {'status': True, 'roots': [-2.0]}
  assert solveQuadratic(1, -4, 4) == {'status': True, 'roots': [2.0]}
output: def solveQuadratic(a, b, c):
      if a == 0:
          if b == 0:
              return {'status': False, 'roots': []}
          else:
              return {'status': True, 'roots': [-c / b]}
      discriminant = b**2 - 4*a*c
      if discriminant < 0:
          return {'status': False, 'roots': []}
      elif discriminant == 0:
          return {'status': True, 'roots': [-b / (2*a)]}
      else:
          root1 = (-b + discriminant**0.5) / (2*a)
          root2 = (-b - discriminant**0.5) / (2*a)
          return {'status': True, 'roots': [root1, root2]}