Here is a Python code:
for i in xrange(10):
    for j in xrange(5):
        pass
# The for-loop ends, but i,j still live on
print i,j  # 9, 4
And the same for C code:
for(int i=0; i<=10; i++)
    for(int =0; j<=5; j++)
        ;
// The for-loop ends, so i,j can't be accessed, right?
printf("%d, %d", i, j);  // won't compile
Do variables in Python live on even after the for loop ends?