Answers for "python change character two spaces"

3

replace multiple spaces with single space python

' '.join(myString.split())
Posted by: Guest on July-11-2020
2

add whitespaces between char python

s = "BINGO"
print(" ".join(s))
Posted by: Guest on February-23-2020

Code answers related to "python change character two spaces"

Python Answers by Framework

Browse Popular Code Answers by Language