replace double space with single space python code example
Example 1: replace multiple spaces with single space python
' '.join(mystring.split())
Example 2: reolace double space ti single space in python'
' '.join(mystring.split())
' '.join(mystring.split())
' '.join(mystring.split())