我已经试了很多种方法,输出的时候还仍然有特殊字符不太清楚是哪里错了还是用别的方法
string1="python is such a funny!"写在 def remove_special(string) 函数前面
可以去除,是不是因为你没有运行remove_special这个函数