結果 : how to check string input in python