Reference no: EM132355710
Question
Write a Python function, which takes as argument a Python list of characters in upper- and lower-cases, char_list, to determine the frequency of each unique lowercase character in the list and returns the counts as a dictionary with each lowercase character as the key and its frequency as the corresponding value.
Note that you should not use the built-in count() method in your implementation. def find_frequency(char_list):
For example, given that char_list = ['a','A','b','C','c','b','D'], the function should return a dictionary, lowercase_dict = {'a':1,'b':2,'c':1}. If the given char_list is empty, the function should return an empty dictionary.
def find_frequency(char_list):