Answers for "replace every character with character python"

0

python replace character in string

text = 'Mohammad_Sadegh_Eslahi'
text = text.replace('_', ' ')
print(text)
>>>
'Mohammad Sadegh Eslahi'
Posted by: Guest on December-24-2021

Code answers related to "replace every character with character python"

Python Answers by Framework

Browse Popular Code Answers by Language