given a string :
>>> string = "0,1,2"
>>> print string
0,1,2
how can I split the string and cast the values into integers, putting them into a list?
given a string :
>>> string = "0,1,2"
>>> print string
0,1,2
how can I split the string and cast the values into integers, putting them into a list?