python string to array

41

>>> text = 'a b c'
>>> text = text.split(' ')
>>> text
[ 'a', 'b', 'c' ]

Comments

Submit
0 Comments