python delete all character occurences from a string code example Example: remove occurrence in string pytthon str="it is icy" print str.replace("i", "")