Avatar ·

How to find symbols from the tuple ('!', ',', '?') in the string and remove them?

📁 cortege, string, Advanced Python Topics

there is a tuple:

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

and the string

  Dasd, Sadarg! Ada  

How can you find characters from a tuple in a string and remove them?