remove spaces from input python code example
Example: how to remove spaces in string in python
sentence = ' hello apple '
sentence.strip()
>>> 'hello apple'
sentence = ' hello apple '
sentence.strip()
>>> 'hello apple'