Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from string import punctuation
- def remove_punctuation(string):
- chars = [c for c in string if not c in punctuation]
- return "".join(chars)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement