11th_remove_word_from_string

 text = input("Enter the string: ")

word = input("Enter a word to delete: ")
text = text.replace(word,"")
print(text)

Comments

Popular posts from this blog

JAVA Lab Programs

HANGMAN GAME

WD 22. StylingLinks&Buttons