input: from typing import List
  
  def has_nearby_elements(numbers: List[float], proximity: float) -> bool:
      """ Determine if in the provided list of numbers, there exist two numbers closer to each other than
      the specified proximity.
      >>> has_nearby_elements([1.0, 2.0, 3.0], 0.5)
      False
      >>> has_nearby_elements([1.0, 2.8, 3.0, 4.0, 5.0, 2.0], 0.3)
      True
      """
output:     for i in range(len(numbers)):
          for j in range(i + 1, len(numbers)):
              if abs(numbers[i] - numbers[j]) < proximity:
                  return True
      return False