print(f"In the array {arr}, the indices {indices} correspond to elements {[arr[idx] for idx in indices]} which are greater than their right - hand neighbors.")
print(f"In the array {arr}, the number of such elements (K) is {count}.")
In the array [1.5, 2.3, 1.1, 0.9], the indices [1, 2] correspond to elements [2.3, 1.1] which are greater than their right - hand neighbors.
In the array [1.5, 2.3, 1.1, 0.9], the number of such elements (K) is 2.