Saturday, May 12, 2018

Python Assign Characters of a String to a List

Or, convert a string to a list :

type( a )
<class 'str'>

b = list( a )
# is all you need :)

No comments: