結果 : check a string python