結果 : frequency of character in a string in python