結果 : how to check frequency in python