Good personal and possible add comma in an example string:
a = '1234567890abcdefghijklmnopqrstuvwxyz_'
So that she stays like this a = 1,2,3,4,5,6,7....
Good personal and possible add comma in an example string:
a = '1234567890abcdefghijklmnopqrstuvwxyz_'
So that she stays like this a = 1,2,3,4,5,6,7....
Do the following:
lst = list(a) // transforma sua string em lista
txt = ",".join(lst) // coloca vírgula entre as letras
Note that this can be done in just one step:
a = ",".join(a)