How to do? How to correct my code? WIth explanation pls. Thank you. Define a function count_character which - accepts a string and counts the numbers of each character in the string; and - returns a dictionary that store the results. For example: Answer: (penalty regime: 10,20,% ) begin{tabular}{|r|c|c} hline 1 & def count_character(string): 2 & my_dict = dict() 3 & for char in string: 4v & if char in my_dict: 5 & my_dict[char ]+=1 6 & else: 7 & my_dict [ char ]=1 8 & return my_dict 9 & 10 & 11 & my_dictionary = count_character(string) 12 & end{tabular}.