結果 : how to check if string has special characters python