input: Write a function to solve a quadratic equation in Python. The function should take three arguments corresponding to the coefficients a, b, and c of the quadratic equation ax^2 + bx + c = 0. The function should return a dictionary with two keys: "status", which will be a boolean indicating whether a real solution exists, and "roots", which will be a list of the roots if they exist. If there are no real roots, the "roots" list should be empty. If there is a single root, the list should contain one element. If there are two distinct roots, the list should contain both.
  
  assert solveQuadratic(1, 3, -4)=={'status': True, 'roots': [-4.0, 1.0]}
  assert solveQuadratic(1, -6, 9)=={'status': True, 'roots': [3.0]}
  assert solveQuadratic(9, 6, 1)=={'status': True, 'roots': [-1.0/3, -1.0/3]}
  assert solveQuadratic(1, 0, 1)=={'status': False, 'roots': []}
  assert solveQuadratic(1, -2, 1)=={'status': True, 'roots': [1.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]}