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 [ ]:
Write a python program to get two strings from the user - a string variable named text and another string variable named
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am