結果 : check if character is whitespace python