input: Write a function to solve a quadratic equation given the coefficients a, b, and c. The function should return a dictionary with status set to true if there are real roots, and false if there are none. If there are real roots, the roots should be stored in an array. If the discriminant is zero, there is only one root and it should be stored in an array.
  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': False, 'roots': []}
output: def solveQuadratic(a, b, c):
      if a == 0:
          return {'status': False, 'roots': []}
      discriminant = b**2 - 4*a*c
      if discriminant > 0:
          root1 = (-b + discriminant**0.5) / (2*a)
          root2 = (-b - discriminant**0.5) / (2*a)
          return {'status': True, 'roots': [root1, root2]}
      elif discriminant == 0:
          root = -b / (2*a)
          return {'status': True, 'roots': [root]}
      else:
          return {'status': False, 'roots': []}