输出结果为:Process finished with exit code 0
你函数调用完了,就结束了,不然你可以print打印一下
print(text_filter('python is lame!')
因为你的程序没有任何输出语句,所以似乎看起来没有任何结果,但是程序已经正确结束了