python3 delete spaces code example
Example 1: replacing spaces in a string python
mystring.replace(" ", "_")
Example 2: delete spaces in string python
>>> s.replace(" ", "")
mystring.replace(" ", "_")
>>> s.replace(" ", "")