結果 : how to check for a string in python