結果 : how to check each letter in a string python