input: Write a function to solve a quadratic equation and return the status and roots as an object. The equation is in the form of ax^2 + bx + c = 0. If the equation has real roots, return the status as true and the roots as an array. If the equation has no real roots, return the status as false and an empty 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': []}
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]}