replace special from beginning of string code example
Example: replace special from beginning of string
s="Hello? Python3?"s1=s.replace("$","")print (s1)#Output:Hello Python3
s="Hello? Python3?"s1=s.replace("$","")print (s1)#Output:Hello Python3