Contact: aviboots(AT)netvision.net.il
41,593 questions
54,235 answers
573 users
lst = ['a', 'b', 'c', 'b', 'e', 'b', 'g']; c = lst.count('b') print(lst) print(c) ''' run: ['a', 'b', 'c', 'b', 'e', 'b', 'g'] 3 '''