3. Deleting characters from a string Write a function def removeAllOccurrences(str, ch): that removes all occurrences of
Posted: Mon Jun 06, 2022 12:12 pm
3. Deleting characters from a string Write a function def removeAllOccurrences(str, ch): that removes all occurrences of the character ch from the string str. www For example, your method should return the values shown: remove AllOccurrences("This is a test", 't') returns "This is a es" wwwwwww www remove AllOccurrences("Summer is here!", 'e') returns "Summr is hr" '-') returns "0" removeAllOccurrences("---0---",