how do remove spaces in python strig 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'