Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python convert string to list

fruit = 'apple oranges banans'
newlist = fruit.split()
print(newlist)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #convert #string #list
ADD COMMENT
Topic
Name
6+5 =