Strip all ASCII punctuation from a string while preserving letters, digits, and whitespace.
Constraints
Example
>>> remove_punctuation('Hello, world!')
'Hello world'
>>> remove_punctuation('No punctuation here')
'No punctuation here'
>>> remove_punctuation('...python...')
'python'
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints