I am trying to delete all punctuation marks from a sentence in python, but when i use this code:
myString.translate(None, string.punctuation)
I get the error:
translate() takes exactly one argument (2 given)
and I couldn't solve the reason for the error.