find out the value in a list through calling the positon python code example
Example 1: how to find item in list python without indexnig
>>> ["foo", "bar", "baz"].index("bar")
1
Example 2: python find first occurrence in list
#iterate through list
for item in yourlist:
#if item is equal to a value
if item == 'value':
#store the item in a variable
yourvar = item
#break out of loop
break