結果 : check if char is symbol python