結果 : check if character python