+ 1

How to convert group of strings into an integer

{'24','23',34'} into 24 23 24

7th Mar 2020, 5:05 PM
$aiNadh
$aiNadh - avatar
1 Answer
+ 3
I will try to illustrate the solution inside python, but you can use the same logic in other languages, writing it in another way, of course I assume that the variable that stores the list of strings is called (list) for x in range (0, len(list)): list[x] = int(list[x])
7th Mar 2020, 5:08 PM
Wardy Spirit
Wardy Spirit - avatar