Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python compressed for concatenate string

LIST = [ 'a', 'b', 'c' ]
text = ' '.join(x for x in LIST)
print(text)

# OUTPUT
'a b c'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #compressed #concatenate #string
ADD COMMENT
Topic
Name
2+8 =