import re
a = ["%!It depends%% on what you m\\ean by dying.",
"It is widely~ read and at the top_x000D_ of all the search%%__ engines.",
"\\H~owever, Wikipedia has internal problems",
"%%a+b!=a-b"]
p = [((((((str(a[i]).replace("%!", "")).replace("%", ""))
.replace("~", "")).replace("_x000D_","")).replace("__", ""))
.replace("\\", "")) for i in range(len(a)) if a[i] != ""]
print(p)
评论
请
登录后发表观点
- 积分
0 - 话题
0 - 评论
3102 - 注册排名
2674