Write a function that removes all the punctuations from a string
Topic: Write a function that removes all the punctuations from a string
Solution
import string def remove_punct(s): return "".join(ch for ch in s if ch not in set(string.punctuation))
List all Python Programs