L = [['1','2'], ['3,','4']]
for innerL in L:<br/>
for item in innerL:
item = int(item)
>>> print(L)
[['1','2'], ['3,','4']]
Why do the strings of numbers not change into integers? If I type:
>>> type(int('3'))
<class 'int'>
then shouldn't the item be turned into an integer? What am I missing?