convert string into list

Avatar
  • Answered
hi, well i have this string a=("1234")
and i whant to have something like this: list=['1','2','3','4']
to finally can add this numbers: 1+2+3+4
Avatar
anonymous
Hello, So pretty much you need to convert a string into a list. I found a stack overflow article that should help you get on the right track. Best Regards, TJ Edens