Answers for "remove 1 occurence in string [python"

1

remove occurrence in string pytthon

str="it is icy"
print str.replace("i", "")
Posted by: Guest on June-26-2020
0

remove occurence of character from string python

>>> "it is icy".replace("i", "")
't s cy'
Posted by: Guest on February-28-2021

Code answers related to "remove 1 occurence in string [python"

Python Answers by Framework

Browse Popular Code Answers by Language