I have a sorted list, and from this list I need to know and extract the index number from the item which first approaches a given value, in this case is 125, i.e. index no. 172 from this list.
I will always have lists in which the value “125” will be positioned in another index, for this, I would need to extrapolate it automatically and not manually.
Could someone point me in the right direction?
Thanks in advance