my_list=['a','b','c','b','a','d']
print("Number of times a appears : ", my_list.count('a'))
print("Number of times b appears : ", my_list.count('b'))
print("Number of times c appears : ", my_list.count('c'))
Output
Number of times a appears : 2
Number of times b appears : 2
Number of times c appears : 1
All list methods Questions with solutions on List
pop() to remove item based on position