I can't understand why in loop variable don't change, but I explicitly try it. So here is my code:
a=[1,2,3]
b=["a","b","c"]
d=[a,b]
for i in d:
for a in i:
a*2
print(a)
And when I run I see :
1
2
3
a
b
c
Instead expected:
2
4
6
aa
bb
cc