#you can use replace function to remove specific word.
>>> message = 'you can use replace function'
>>> message.replace('function', '')
>>>'you can use replace '
for char in line:
if char in " ?.!/;:":
line.replace(char,'')
string.replace(old character, new character, count)
a_string = "addbdcd"
a_string = a_string.replace("d", "")
print(a_string)
s="Hello$ Python3$"s1=s.replace("$","",1)print (s1)#Output:Hello Python3$