DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
remove blank spaces from a list python
for
i
in
range
(
0
,
(
len
(
list
)
)
)
:
x
=
str
(
list
[
i
]
)
.
strip
(
' '
)
list
[
i
]
=
x
PREVIOUS
NEXT
Tagged:
#remove
#blank
#spaces
#list
#python
ADD COMMENT
Topic
COMMENT
Name
4+8 =
Submit