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
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.
For example, if the string is “It is cold outside” and thesearch string is “cold”. Your result should be “It is outside”
In [ ]:
For example, if the string is “It is cold outside” and thesearch string is “cold”. Your result should be “It is outside”
In [ ]: