input: from typing import List
  
  
  def find_strength(extensions: List[str]) -> List[float]:
      """ Calculate the strength of each extension based on the given class.
      Strength is calculated as the difference between the number of uppercase
      letters (CAP) and the number of lowercase letters (SM).
      Return a list of strengths corresponding to the extensions.
      
      >>> find_strength(['SErviNGSliCes', 'Cheese', 'StUFfed'])
      [-1.0, -4.0, -2.0]
      >>> find_strength(['AA', 'Be', 'CC'])
      [2.0, 0.0, 2.0]
      """
      
  # Complete the function body here
output:     strengths = []
      for ext in extensions:
          cap_count = sum(1 for c in ext if c.isupper())
          sm_count = sum(1 for c in ext if c.islower())
          strength = cap_count - sm_count
          strengths.append(strength)
      return strengths