How do I delete all the instances of a character in this string? Here is my code:
def findreplace(char, string): place = string.index(char) string[pl
Try str.replace():
str.replace()
string = "it is icy" print string.replace("i", "")