5. Write a Program to remove punctuations from a string.
----------------------------------------------------
import string
text = input("Enter a string: ")
translator = str.maketrans('', '', string.punctuation)
result = text.translate(translator)
print("String without punctuation:", result)