Answers for "remove words in string from a list python"

1

remove word from string in python

#you can use replace function to remove specific word.
message = 'you can use replace function'
message = message.replace('function', '')
print(message)
Posted by: Guest on July-04-2021

Code answers related to "remove words in string from a list python"

Python Answers by Framework

Browse Popular Code Answers by Language