input: 
  from typing import List
  
  def find_mode(numbers: List[float]) -> float:
      """ Find the mode of a given list of numbers. The mode is the number that appears 
      most frequently in the list. If there are multiple modes, return the first one 
      found in the list.
      >>> find_mode([1, 2, 3, 2, 4, 2])
      2
      >>> find_mode([1.0, 2.0, 3.0, 3.0, 2.0])
      2.0
      """
      max_count = 0
      mode = numbers[0]
      count = {}
      for item in numbers:
          if item in count:
              count[item] += 1
          else:
              count[item] = 1
          if count[item] > max_count:
              max_count = count[item]
              mode = item
      return mode
  
output:     max_count = 0
      mode = numbers[0]
      count = {}
      for item in numbers:
          if item in count:
              count[item] += 1
          else:
              count[item] = 1
          if count[item] > max_count:
              max_count = count[item]
              mode = item
      return mode