Page 1 of 1

Write a python program to get two strings from the user - a string variable named text and another string variable named

Posted: Tue Jul 05, 2022 10:25 am
by answerhappygod
Write a python program to get two strings from the user - astring variable named text and another string variable named match.Look for match in text and remove all occurrences of match anddisplay the result.
ex: if the string is “It is cold outside” and thesearch string is “cold”. Your result should be “It is outside”