結果 : how to check if a string has whitespace in python