L = [ 1 , 5 , 2 , 5 , 6 , 5 , 7 , 9 ]

for i in range( len(L) ):
    if L[i] == 5:
        print(i)
