Contact: aviboots(AT)netvision.net.il
40,764 questions
53,140 answers
573 users
lst = ['a', 'b', 'c', 'b', 'e', 'b', 'g']; i = lst.index('b') print(lst) print(i) ''' run: ['a', 'b', 'c', 'b', 'e', 'b', 'g'] 1 '''