input: Write a function that solves a quadratic equation given the coefficients a, b, and c. The function should return a dictionary with a key 'status' indicating whether the equation has real roots (True if it does, False otherwise) and a key 'roots' containing the real roots of the equation, if any.
  assert solveQuadratic(1, 4, 4) == {'status': True, 'roots': [-2.0]}
  assert solveQuadratic(1, -5, 6) == {'status': True, 'roots': [3.0, 2.0]}
  assert solveQuadratic(1, 2, 5) == {'status': False, 'roots': []}
  assert solveQuadratic(1, 6, 9) == {'status': True, 'roots': [-3.0]}
output: def solveQuadratic(a, b, c):
      discriminant = b**2 - 4*a*c
      if discriminant < 0:
          return {'status': False, 'roots': []}
      elif discriminant == 0:
          root = -b / (2*a)
          return {'status': True, 'roots': [root]}
      else:
          root1 = (-b + discriminant**0.5) / (2*a)
          root2 = (-b - discriminant**0.5) / (2*a)
          return {'status': True, 'roots': [root1, root2]}