結果 : check string for spaces python