結果 : check if string has spaces python