# define punctuation
punctuations = '''!()-[]{};:'"\,<>./?@#$%^&*_~'''
# To take input from the user
my_str = input("Enter Your String : ")
# remove punctuation from the string
no_punct = ""
for char in my_str:
if char not in punctuations:
no_punct = no_punct + char
#clcoding.com
# display the unpunctuated string
print(no_punct)
Enter Your String : " I love Python"! I love Python