how to convert string to list in python 3 code example Example: string to list python s = 'hello' l = list(s) print(l) # prints ['h', 'e', 'l', 'l', 'o']