DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
adding strings in the list
#!/usr/bin/python msg = ' '.join(['There', 'are', 'three', 'eagles', 'in', 'the', 'sky']) print(msg)
Source by zetcode.com #
PREVIOUS
NEXT
Tagged:
#adding
#strings
#list
ADD COMMENT
Topic
COMMENT
Name
5+5 =
Submit