結果 : how to check for spaces in a string python