Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def strip_by_category(text):
- drop_chars = set("abcdefg")
- return "".join(c for c in text if c not in drop_chars)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement