code: def kth_closest(arr, k, left, right, pt):
      pivot = pivoting(arr, left, right, pt)
  
      if pivot > k:
          kth_closest(arr, k, left, pivot - 1, pt)
      elif pivot < k:
          kth_closest(arr, k, pivot + 1, right, pt)
  
label_desc: Use image node_id 2 for calling a global function with example usage: kth_closest(arr, k, left, right, pt) without return types