How to create a list with the characters of a string? [duplicate]

list('5+6')

returns

['5', '+', '6']

Leave a Comment