結果 : how to compare part of string in python