結果 : how to check string for spaces in python