DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to remove spaces in string in python
sentence = ' hello apple ' sentence.strip() >>> 'hello apple'
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#remove
#spaces
#string
#python
ADD COMMENT
Topic
COMMENT
Name
2+5 =
Submit