結果 : how to check if string has space in python