+1

How to split an element into symbols? (Python)

Example: a=[‘hello’] ... #output [‘h’, ‘e’, ‘l’, ‘l’, ‘o’]

10/22/2019 9:43:05 PM

Syrex

3 Answers

New Answer

+3

print(list(a))

+2

In this situation: print(list(a[0]))

+1

Thanks everyone;)