DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+8 =
Submit