input: from typing import List
  
  def circle_area(radius: List[float]) -> float:
      """ Calculate the area of a circle for a given list of radii.
      >>> circle_area([1.0])
      3.14
      >>> circle_area([2.0])
      12.56
      """
      
      Pi = 3.14
      area_list = []
      for r in radius:
          area_list.append(Pi * r ** 2)
      return area_list[0] if len(area_list) == 1 else area_list
output:     Pi = 3.14
      area_list = []
      for r in radius:
          area_list.append(Pi * r ** 2)
      return area_list[0] if len(area_list) == 1 else area_list