Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

string to list python

s = 'hello'
l = list(s)
print(l) # prints ['h', 'e', 'l', 'l', 'o']
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #string #list #python
ADD COMMENT
Topic
Name
3+7 =