Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python delete white spaces

sentence = ' hello  apple'
sentence.strip()
>>> 'hello  apple'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #delete #white #spaces
ADD COMMENT
Topic
Name
4+3 =