Avatar ·

如何找到字符串中来自元组 ('!',',','?') 的字符并删除它们?

📁 车队, 行, python

有一个元组:

a= ('!',',','?')

和一个字符串

dasd,sadarg!ada

如何找到字符串中来自元组的字符并删除它们?