結果 : python code for frequency distribution