結果 : python program to count the frequency of elements in a list using a dictionary