How could I find a certain index as to where one of the elements is located at within sets. So I would like to find where (2.0, 2.0, 152) is located within the sets list, which is the 5th index. Is there a function that I would be able to use to get to that?
from itertools import groupby
from itertools import accumulate
import itertools
#Configs
Lower = [round(x * 0.5,1) for x in range(4,23)] #ideal = (4,13) Lower and upper boundary values
Upper = [round(x * 0.5,1) for x in range(4,23)] # ideal between (10-23)
number = [round(x *0.5,5) for i in range(100, )] #used for calculations with stand deriv and linear reg
list_set = [Lower, Upper, number]
sets = []
for element in itertools.product(*list_set):
print(element)
sets.append(element)