input: from typing import List
  
  def solveQuadratic(a: float, b: float, c: float) -> dict:
      """Solve a quadratic equation of the form ax^2 + bx + c = 0.
      The function returns a dictionary with a status key indicating whether the
      solution has real roots and a roots key that holds the list of real roots.
      If the discriminant is negative, the function returns a dictionary with status
      set to False and an empty list for roots.
      >>> solveQuadratic(1.0, 3.0, -4.0)
      {'status': True, 'roots': [-4.0, 1.0]}
      >>> solveQuadratic(1.0, 2.0, 1.0)
      {'status': True, 'roots': [-1.0]}
      >>> solveQuadratic(1.0, 1.0, 1.0)
      {'status': False, 'roots': []}
      """
output:     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]}