結果 : python compare first part of string