結果 : how to check part of a string in python