Let's assume I have a string:
a="qihdkasf\sdgbsdf\rgsdg"
I want to replace "\" in string a with "/" in python.
I do know that while printing "\", we need to write it as print("\\"). Considering that, 
I tried doing something like this, as shown below:
a.replace("\\","/")
but, it doesn't seem to be working!
Any help on the matter will be really appreciated.
 
    