So I'm checking a list and printing all the values that are equal to three
for item in top:
if item == 3:
print('recommendation found at:')
print(top.index(item))
the problem is this will just continually print the first element that has the value 3. How can you print every the position of every element with the value 3?