DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
remove empty space from string python
string = "Welcome to Python" new_str = "".join(string.split(" ")) print(new_str) # "WelcometoPython"
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#remove
#empty
#space
#string
#python
ADD COMMENT
Topic
COMMENT
Name
1+7 =
Submit