how can I find the highest y value in a list until a certain x value, from another list?
for example, I have two lists:
x = [0.20, 0.20, 0.40, 0.40, 0.60, 0.60