replace character with space python code example
Example 1: add whitespaces between char python
s = "BINGO"
print(" ".join(s))
Example 2: replace space with . pyhton
mystring.replace(" ", "_")
s = "BINGO"
print(" ".join(s))
mystring.replace(" ", "_")