python remove specific strings in line code example
Example: python remove specific character from string
s="Hello$ Python3$"s1=s.replace("$","",1)print (s1)#Output:Hello Python3$
s="Hello$ Python3$"s1=s.replace("$","",1)print (s1)#Output:Hello Python3$