結果 : how to check for spaces in string python