Я пытаюсь удалить все знаки препинания из строки с помощью «.strip()», но ее не работаетИспользование «string.strip()»
sentence = "The sunset sets at twelve o' clock."
new_sentence = sentence.strip("[email protected]#$%^&*()'-_+={}[]|\:;'<>?,./\"")**
print(new_sentence)
#result : The sunset sets at twelve o' clock
#Expectation : The sunset sets at twelve o clock