finding index of an item closest to the value in a list that's not entirely sorted,"min(list(range(len(a))), key=lambda i: abs(a[i] - 11.5))"