Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def replace_chars(text):
- chars = ",.?!"
- for c in chars:
- if c in text:
- text = text.replace(c, '')
- return text
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement