結果 : anagram program in python using function