input: import math
  
  def solveQuadratic(a: float, b: float, c: float) -> dict:
      """ Solve a quadratic equation of the form ax^2 + bx + c = 0.
      Returns a dictionary with 'status' set to True if real roots exist, 
      and 'roots' containing the list of real roots. If no real roots exist,
      'status' is set to False and 'roots' is an empty list.
      >>> solveQuadratic(1, 3, -4)
      {'status': True, 'roots': [-4.0, 1.0]}
      >>> solveQuadratic(1, 2, 1)
      {'status': True, 'roots': [-1.0]}
      >>> solveQuadratic(1, 0, 1)
      {'status': False, 'roots': []}
      """
      discriminant = (b**2) - (4*a*c)
      
      # If discriminant is negative there are no real roots.
      if (discriminant < 0): 
          return {
              "status": False,
              "roots": []
          }
      # If discriminant is zero, there is only one real roots.
      elif (discriminant == 0):
          x = -b/(2*a)
          return {
              "status": True,
              "roots": [x]
          }
      # Otherwise there are 2 real roots 
      else:
          x1 = (-b + math.sqrt(discriminant)) / (2*a)
          x2 = (-b - math.sqrt(discriminant)) / (2*a)
          return {
              "status": True,
              "roots": [x1, x2]
          }
output:     discriminant = (b**2) - (4*a*c)
      
      # If discriminant is negative there are no real roots.
      if (discriminant < 0): 
          return {
              "status": False,
              "roots": []
          }
      # If discriminant is zero, there is only one real roots.
      elif (discriminant == 0):
          x = -b/(2*a)
          return {
              "status": True,
              "roots": [x]
          }
      # Otherwise there are 2 real roots 
      else:
          x1 = (-b + math.sqrt(discriminant)) / (2*a)
          x2 = (-b - math.sqrt(discriminant)) / (2*a)
          return {
              "status": True,
              "roots": [x1, x2]
          }