Answers for "how can i convert a string into array in python?"

6

python string to array

>>> text = 'a b c'
>>> text = text.split(' ')
>>> text
[ 'a', 'b', 'c' ]
Posted by: Guest on May-10-2020

Code answers related to "how can i convert a string into array in python?"

Python Answers by Framework

Browse Popular Code Answers by Language