Contact: aviboots(AT)netvision.net.il
39,851 questions
51,772 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 '''