In this question, I want to ask how to count specific character in list using python:
The example of list are following below:
aList = [123, 'Xyz', 'zaRa', 'Abc', 123];
How to count "X", "R", "A" characters in that list?
The desired output is following below:
X = 1
R = 1
A = 1