There are already several good answers to this question [1]. Here, I was trying to increment the 'i' in outer for-loop from inner for-loop and did not work as expected. Therefore posting this question and answer. Hoping, it may help someone in future.
x = [0,1,2,3,4,5,6,7,8,9,10]
for i in x:
print(x[i])
for j in x:
i += 1
Output:
i:0; x[i]:0
i:1; x[i]:1
i:2; x[i]:2
i:3; x[i]:3
i:4; x[i]:4
i:5; x[i]:5