I'm making a program that will evaluate each entry on a vector/list whether it is inside a specific value. I don't know that to do. My Idea is like this:
I have a set of data that looks like this:
data = (0,1) , (0,2), (1,1), (1,2) #where data[0] = (0,1) (or data[0][0] = 0 and data[0][1] = 1), data[1] = (0,2) and so on.
This data is inaccesible, and cannot be edited.
so I want to evaluate whether the first value is inside a range, as well as the second. Like this:
if data[first number >= 10][second number < 1]:
do something